|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.acelogger.factory.FormatterFactory
public final class FormatterFactory

Factory for managing instances of configured formatters.
| Method Summary | |
|---|---|
static Formatter |
getDefaultFormatter()
Returns the default formatter of this factory, the one used when no formatter is found for a given identifier. |
static Formatter |
getFormatter(String identifier)
Obtains a properly configured formatter for the given identifier. |
static List<Formatter> |
getRegisteredFormatters()
Returns a list of all formatters registered in this factory. |
static Formatter |
registerFormatter(Formatter formatter)
Registers an appender within this factory. |
static Formatter |
setDefaultFormatter(Formatter defaultFormatter)
Sets the default formatter of this factory, the one used when no formatter is found for a given identifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Formatter getFormatter(String identifier)
identifier - The identifier of the intended formatter.
getDefaultFormatter()public static Formatter setDefaultFormatter(Formatter defaultFormatter)
defaultFormatter - The formatter that will be used as the default one from now.
public static Formatter getDefaultFormatter()
public static List<Formatter> getRegisteredFormatters()
public static Formatter registerFormatter(Formatter formatter)
formatter - The formatter to be registered.
getDefaultFormatter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||