public static enum ConsoleAppenderFactory.ConsoleStream extends Enum<ConsoleAppenderFactory.ConsoleStream>
Modifier and Type | Method and Description |
---|---|
String |
get() |
static ConsoleAppenderFactory.ConsoleStream |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleAppenderFactory.ConsoleStream[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleAppenderFactory.ConsoleStream STDOUT
public static final ConsoleAppenderFactory.ConsoleStream STDERR
public static ConsoleAppenderFactory.ConsoleStream[] values()
for (ConsoleAppenderFactory.ConsoleStream c : ConsoleAppenderFactory.ConsoleStream.values()) System.out.println(c);
public static ConsoleAppenderFactory.ConsoleStream 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 String get()
Copyright © 2011. All rights reserved.