|
JBoss Log Manager 1.4.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ConsoleHandler.Target>
org.jboss.logmanager.handlers.ConsoleHandler.Target
public static enum ConsoleHandler.Target
The target stream type.
| Enum Constant Summary | |
|---|---|
CONSOLE
The target for System.console(). |
|
SYSTEM_ERR
The target for System.err. |
|
SYSTEM_OUT
The target for System.out. |
|
| Method Summary | |
|---|---|
static ConsoleHandler.Target |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConsoleHandler.Target[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ConsoleHandler.Target SYSTEM_OUT
System.out.
public static final ConsoleHandler.Target SYSTEM_ERR
System.err.
public static final ConsoleHandler.Target CONSOLE
System.console().
| Method Detail |
|---|
public static ConsoleHandler.Target[] values()
for (ConsoleHandler.Target c : ConsoleHandler.Target.values()) System.out.println(c);
public static ConsoleHandler.Target valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
JBoss Log Manager 1.4.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||