Example usage for java.util.spi ResourceBundleControlProvider interface-usage

List of usage examples for java.util.spi ResourceBundleControlProvider interface-usage

Introduction

In this page you can find the example usage for java.util.spi ResourceBundleControlProvider interface-usage.

Usage

From source file rbcp.PropertiesResourceBundleControlProvider.java

public class PropertiesResourceBundleControlProvider implements ResourceBundleControlProvider {
    static final ResourceBundle.Control PROPERTIESCONTROL = new PropertiesResourceBundleControl();

    public ResourceBundle.Control getControl(String baseName) {
        System.out.println("Class: " + getClass().getName() + ".getControl");
        System.out.println("    called for " + baseName);

From source file rbcp.XMLResourceBundleControlProvider.java

public class XMLResourceBundleControlProvider implements ResourceBundleControlProvider {
    static final ResourceBundle.Control XMLCONTROL = new XMLResourceBundleControl();

    public ResourceBundle.Control getControl(String baseName) {
        System.out.println("Class: " + getClass().getName() + ".getControl");
        System.out.println("    called for " + baseName);