public enum ConvertAbility extends java.lang.Enum<ConvertAbility>
| Enum Constant and Description |
|---|
Maybe
Adapter can possibly convert specified file to requested target format.
|
No
Adapter cannot convert specified file to requested target format.
|
Yes
Adapter can specified file to requested target format.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAbility()
The ability code as an integer value.
|
static ConvertAbility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConvertAbility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConvertAbility No
public static final ConvertAbility Yes
public static final ConvertAbility Maybe
public static ConvertAbility[] values()
for (ConvertAbility c : ConvertAbility.values()) System.out.println(c);
public static ConvertAbility 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 int getAbility()