java.io.Serializable, java.lang.Comparable<AppenderType>public enum AppenderType extends java.lang.Enum<AppenderType>
Created: 2008. 04. 25 AM 16:47:38
| Enum Constant | Description |
|---|---|
FILE |
|
PARAMETERS |
|
RESOURCE |
|
URL |
| Modifier and Type | Method | Description |
|---|---|---|
static AppenderType |
resolve(java.lang.String alias) |
Returns an
AppenderType with a value represented
by the specified String. |
java.lang.String |
toString() |
|
static AppenderType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AppenderType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppenderType FILE
public static final AppenderType RESOURCE
public static final AppenderType URL
public static final AppenderType PARAMETERS
public static AppenderType[] values()
for (AppenderType c : AppenderType.values()) System.out.println(c);
public static AppenderType 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 java.lang.String toString()
toString in class java.lang.Enum<AppenderType>public static AppenderType resolve(java.lang.String alias)
AppenderType with a value represented
by the specified String.alias - the appender type as a StringAppenderType, may be nullCopyright © 2008–2018 The Aspectran Project. All rights reserved.