public enum ConsoleTarget extends java.lang.Enum<ConsoleTarget>
| Modifier and Type | Method and Description |
|---|---|
static ConsoleTarget |
findByName(java.lang.String name) |
java.lang.String |
getName() |
java.io.OutputStream |
getStream() |
java.lang.String |
toString() |
static ConsoleTarget |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleTarget SystemOut
public static final ConsoleTarget SystemErr
public static ConsoleTarget[] values()
for (ConsoleTarget c : ConsoleTarget.values()) System.out.println(c);
public static ConsoleTarget 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 static ConsoleTarget findByName(java.lang.String name)
public java.lang.String getName()
public java.io.OutputStream getStream()
public java.lang.String toString()
toString in class java.lang.Enum<ConsoleTarget>Copyright © 2010 - 2023 Adobe. All Rights Reserved