public enum LogArchiveContainer extends java.lang.Enum<LogArchiveContainer>
Modifier and Type | Method and Description |
---|---|
abstract LogArchiveWriter |
createLogArchiveWriter(java.io.ByteArrayOutputStream baos) |
java.lang.String |
getFileExtension() |
java.lang.String |
getMimeType() |
static LogArchiveContainer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogArchiveContainer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogArchiveContainer ZIP
public static final LogArchiveContainer LOG
public static LogArchiveContainer[] values()
for (LogArchiveContainer c : LogArchiveContainer.values()) System.out.println(c);
public static LogArchiveContainer 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 abstract LogArchiveWriter createLogArchiveWriter(java.io.ByteArrayOutputStream baos)
public java.lang.String getFileExtension()
public java.lang.String getMimeType()