public enum CompressionTimeUnit extends java.lang.Enum<CompressionTimeUnit>
Enum Constant and Description |
---|
DAY
Create new file per every day.
|
HOUR
Create new file per every hour.
|
MINUTE
Create new file per every minute.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPattern()
get the date format pattern.
|
static CompressionTimeUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompressionTimeUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionTimeUnit DAY
public static final CompressionTimeUnit HOUR
public static final CompressionTimeUnit MINUTE
public static CompressionTimeUnit[] values()
for (CompressionTimeUnit c : CompressionTimeUnit.values()) System.out.println(c);
public static CompressionTimeUnit 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 getPattern()