@Deprecated public enum ConsoleTarget extends Enum<ConsoleTarget>
Enum Constant and Description |
---|
SystemErr
Deprecated.
|
SystemOut
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ConsoleTarget |
findByName(String name)
Deprecated.
|
String |
getName()
Deprecated.
|
OutputStream |
getStream()
Deprecated.
|
static ConsoleTarget |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ConsoleTarget[] |
values()
Deprecated.
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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ConsoleTarget findByName(String name)
public String getName()
public OutputStream getStream()
Copyright © 2005–2014 QOS.ch. All rights reserved.