org.hyphenType.util.resourcebundles
Class GenericEncodingControl

java.lang.Object
  extended by java.util.ResourceBundle.Control
      extended by org.hyphenType.util.resourcebundles.GenericEncodingControl

public class GenericEncodingControl
extends ResourceBundle.Control

Author:
Aurelio Akira M. Matsui

Field Summary
 
Fields inherited from class java.util.ResourceBundle.Control
FORMAT_CLASS, FORMAT_DEFAULT, FORMAT_PROPERTIES, TTL_DONT_CACHE, TTL_NO_EXPIRATION_CONTROL
 
Constructor Summary
GenericEncodingControl(String encodingName)
          Creates a new control with the given encoding.
 
Method Summary
 ResourceBundle newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload)
           
 
Methods inherited from class java.util.ResourceBundle.Control
getCandidateLocales, getControl, getFallbackLocale, getFormats, getNoFallbackControl, getTimeToLive, needsReload, toBundleName, toResourceName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericEncodingControl

public GenericEncodingControl(String encodingName)
Creates a new control with the given encoding.

Parameters:
encodingName - The encoding to use when reading resource bundle files.
Method Detail

newBundle

public final ResourceBundle newBundle(String baseName,
                                      Locale locale,
                                      String format,
                                      ClassLoader loader,
                                      boolean reload)
                               throws IllegalAccessException,
                                      InstantiationException,
                                      IOException
Overrides:
newBundle in class ResourceBundle.Control
Throws:
IllegalAccessException
InstantiationException
IOException


Copyright © 2013. All Rights Reserved.