public class CachingLocaleFormat extends Object implements LocaleFormat
DEFAULT, DEFAULT_NO_CACHE, RFC3066_LANGUAGE_TAG, RFC3066_LANGUAGE_TAG_NO_CACHE| Constructor and Description |
|---|
CachingLocaleFormat(LocaleFormat delegate) |
public CachingLocaleFormat(LocaleFormat delegate) throws IllegalArgumentException
delegate - the delegate when the cache value has not been foundIllegalArgumentException - if the delegate object provided is nullpublic Locale getLocale(String value) throws ConversionException
getLocale in interface LocaleFormatConversionExceptionpublic String toString(Locale locale) throws ConversionException
toString in interface LocaleFormatConversionExceptionpublic void write(Locale locale, CharWriter writer) throws IOException, ConversionException
write in interface LocaleFormatIOExceptionConversionExceptionCopyright © 2025 JBoss by Red Hat. All Rights Reserved.