public static enum ConsoleAppender.Target extends java.lang.Enum<ConsoleAppender.Target>
Enum Constant and Description |
---|
SYSTEM_ERR
Standard error output.
|
SYSTEM_OUT
Standard output.
|
Modifier and Type | Method and Description |
---|---|
protected java.nio.charset.Charset |
getCharset(java.lang.String property,
java.nio.charset.Charset defaultCharset) |
abstract java.nio.charset.Charset |
getDefaultCharset() |
static ConsoleAppender.Target |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleAppender.Target[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleAppender.Target SYSTEM_OUT
public static final ConsoleAppender.Target SYSTEM_ERR
public static ConsoleAppender.Target[] values()
for (ConsoleAppender.Target c : ConsoleAppender.Target.values()) System.out.println(c);
public static ConsoleAppender.Target valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract java.nio.charset.Charset getDefaultCharset()
protected java.nio.charset.Charset getCharset(java.lang.String property, java.nio.charset.Charset defaultCharset)