public static enum AppleFile.FileFormat extends java.lang.Enum<AppleFile.FileFormat>
Enum Constant and Description |
---|
APPLE_DOUBLE |
APPLE_SINGLE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static AppleFile.FileFormat |
fromString(java.lang.String fileFormat)
Return a suitable Apple file format as inferred from the passed-in
string.
|
static AppleFile.FileFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AppleFile.FileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppleFile.FileFormat APPLE_SINGLE
public static final AppleFile.FileFormat APPLE_DOUBLE
public static final AppleFile.FileFormat UNKNOWN
public static AppleFile.FileFormat[] values()
for (AppleFile.FileFormat c : AppleFile.FileFormat.values()) System.out.println(c);
public static AppleFile.FileFormat 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 static AppleFile.FileFormat fromString(java.lang.String fileFormat)
fileFormat
- the file format