|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.common.i18n.CachingLocaleFormat
public class CachingLocaleFormat
| Field Summary |
|---|
| Fields inherited from interface org.jboss.portal.common.i18n.LocaleFormat |
|---|
DEFAULT, DEFAULT_NO_CACHE, RFC3066_LANGUAGE_TAG, RFC3066_LANGUAGE_TAG_NO_CACHE |
| Constructor Summary | |
|---|---|
CachingLocaleFormat(LocaleFormat delegate)
|
|
| Method Summary | |
|---|---|
java.util.Locale |
getLocale(java.lang.String value)
|
java.lang.String |
toString(java.util.Locale locale)
|
void |
write(java.util.Locale locale,
java.io.Writer writer)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CachingLocaleFormat(LocaleFormat delegate)
throws java.lang.IllegalArgumentException
delegate - the delegate when the cache value has not been found
java.lang.IllegalArgumentException - if the delegate object provided is null| Method Detail |
|---|
public java.util.Locale getLocale(java.lang.String value)
throws ConversionException
getLocale in interface LocaleFormatConversionException
public java.lang.String toString(java.util.Locale locale)
throws ConversionException
toString in interface LocaleFormatConversionException
public void write(java.util.Locale locale,
java.io.Writer writer)
throws java.io.IOException,
ConversionException
write in interface LocaleFormatjava.io.IOException
ConversionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||