Package org.refcodes.logger.alt.console
Enum AbstractConsoleLogger.OutputPrintStream
- java.lang.Object
-
- java.lang.Enum<AbstractConsoleLogger.OutputPrintStream>
-
- org.refcodes.logger.alt.console.AbstractConsoleLogger.OutputPrintStream
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractConsoleLogger.OutputPrintStream>
- Enclosing class:
- AbstractConsoleLogger<T>
public static enum AbstractConsoleLogger.OutputPrintStream extends Enum<AbstractConsoleLogger.OutputPrintStream>
The Enum OutputPrintStream.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractConsoleLogger.OutputPrintStream
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractConsoleLogger.OutputPrintStream[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDARD
public static final AbstractConsoleLogger.OutputPrintStream STANDARD
-
ERROR
public static final AbstractConsoleLogger.OutputPrintStream ERROR
-
-
Method Detail
-
values
public static AbstractConsoleLogger.OutputPrintStream[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AbstractConsoleLogger.OutputPrintStream c : AbstractConsoleLogger.OutputPrintStream.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractConsoleLogger.OutputPrintStream valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-