Codec<SaveableFileFormat>
, JaplEnum
, Serializable
, Comparable<SaveableFileFormat>
@Code("savf") @Name("saveable file format") public enum SaveableFileFormat extends Enum<SaveableFileFormat> implements JaplEnum, Codec<SaveableFileFormat>
Enum Constant | Description |
---|---|
TEXT |
Modifier and Type | Method | Description |
---|---|---|
SaveableFileFormat |
_decode(String objectReference,
String applicationReference) |
Return the correct enum member for a given string/object reference.
|
String |
_encode(Object japlEnum) |
|
TypeClass[] |
_getAppleScriptTypes() |
|
Class<SaveableFileFormat> |
_getJavaType() |
|
String |
getCode() |
|
String |
getDescription() |
|
String |
getName() |
|
static SaveableFileFormat |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static SaveableFileFormat[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaveableFileFormat TEXT
public static final TypeClass CLASS
public static SaveableFileFormat[] values()
for (SaveableFileFormat c : SaveableFileFormat.values()) System.out.println(c);
public static SaveableFileFormat 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 nullpublic String getCode()
public String getDescription()
getDescription
in interface JaplEnum
public SaveableFileFormat _decode(String objectReference, String applicationReference)
_decode
in interface Codec<SaveableFileFormat>
objectReference
- object referenceapplicationReference
- application referencepublic String _encode(Object japlEnum)
_encode
in interface Codec<SaveableFileFormat>
japlEnum
- JaplEnum instancepublic Class<SaveableFileFormat> _getJavaType()
_getJavaType
in interface Codec<SaveableFileFormat>
_decode(String, String)
public TypeClass[] _getAppleScriptTypes()
_getAppleScriptTypes
in interface Codec<SaveableFileFormat>
_decode(String, String)