public enum SliceType extends Enum<SliceType>
Enum Constant and Description |
---|
BODY
file body
|
HEADER
file header
|
TAIL
file tail
|
Modifier and Type | Method and Description |
---|---|
static SliceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SliceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SliceType HEADER
public static final SliceType BODY
public static final SliceType TAIL
public static SliceType[] values()
for (SliceType c : SliceType.values()) System.out.println(c);
public static SliceType 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 nullCopyright © 2016. All rights reserved.