public static enum Part.PartType extends Enum<Part.PartType>
Modifier and Type | Method and Description |
---|---|
static Part.PartType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Part.PartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Part.PartType BINARY
public static final Part.PartType TEXT
public static Part.PartType[] values()
for (Part.PartType c : Part.PartType.values()) System.out.println(c);
public static Part.PartType 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 © 2020 Voovan. All rights reserved.