org.apache.cocoon.sax.component
Class I18nTransformer.CustomEncodingControl

java.lang.Object
  extended by java.util.ResourceBundle.Control
      extended by org.apache.cocoon.sax.component.I18nTransformer.CustomEncodingControl
Enclosing class:
I18nTransformer

public static class I18nTransformer.CustomEncodingControl
extends ResourceBundle.Control

Support for custom encodings in bundle files.


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
I18nTransformer.CustomEncodingControl(String 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

I18nTransformer.CustomEncodingControl

public I18nTransformer.CustomEncodingControl(String encoding)
Method Detail

newBundle

public 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 © 2008-2012 The Apache Software Foundation. All Rights Reserved.