public abstract class AbstractLocaleFormat extends Object implements LocaleFormat
DEFAULT, DEFAULT_NO_CACHE, RFC3066_LANGUAGE_TAG, RFC3066_LANGUAGE_TAG_NO_CACHE| Constructor and Description |
|---|
AbstractLocaleFormat() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getLocale(String value) |
protected abstract Locale |
internalGetLocale(String value) |
protected String |
internalToString(Locale locale) |
protected abstract void |
internalWrite(Locale locale,
CharWriter writer) |
String |
toString(Locale locale) |
void |
write(Locale locale,
CharWriter writer) |
public 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 LocaleFormatIOExceptionConversionExceptionprotected abstract Locale internalGetLocale(String value) throws ConversionException
ConversionExceptionprotected String internalToString(Locale locale) throws ConversionException
ConversionExceptionprotected abstract void internalWrite(Locale locale, CharWriter writer) throws IOException, ConversionException
IOExceptionConversionExceptionCopyright © 2025 JBoss by Red Hat. All Rights Reserved.