|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xins.logdoc.AbstractLog.LogController
Log controller. Can be used by the LogCentral class to set
the locale on a specific Log class. Each Log
class should create exactly one LogController object, in a
class initializer.
| Constructor Summary | |
protected |
AbstractLog.LogController()
Constructs a new LogController object. |
| Method Summary | |
protected abstract boolean |
isLocaleSupported(String locale)
Checks if the specified locale is supported. |
protected abstract void |
setLocale(String newLocale)
Activates the specified locale. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected AbstractLog.LogController()
throws UnsupportedLocaleException
LogController object.
UnsupportedLocaleException - if this LogController does not support the current Locale.| Method Detail |
protected abstract boolean isLocaleSupported(String locale)
locale - the locale, not null.
true if the locale is supported, false
if it is not.protected abstract void setLocale(String newLocale)
This method should only be called with locales that are supported,
according to isLocaleSupported(String). Otherwise the
behaviour of this method is unspecified.
newLocale - the new locale, not null.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||