com.artima.place.info
Interface Purgable
- All Known Implementing Classes:
- LocalizableInfo, InfoBundle
- public interface Purgable
Interface implemented by classes that can purge away localizable
information for undesired locales, keeping only information about
a desired locale, which is the only locale preserved when one of
the purge
methods is invoked.
Method Summary |
void |
purge()
Purge away information about undesired locales. |
void |
purge(java.util.Locale preserveLocale)
Purge away information about any locales other than the passed
Locale , whose localized information should be
preserved. |
purge
public void purge()
- Purge away information about undesired locales. If the class that
implements this method doesn't already know what the desired
locale is, it should assume that the current default locale is
the desired locale.
All localizable information about undesired locales should be purged.
Only localizable information about the desired locale should be
preserved.
purge
public void purge(java.util.Locale preserveLocale)
- Purge away information about any locales other than the passed
Locale
, whose localized information should be
preserved.
- Parameters:
preserveLocale
- a locale to preserve