Package ag.smaser.trip.filefilter
Enum ConvertAbility
- java.lang.Object
-
- java.lang.Enum<ConvertAbility>
-
- ag.smaser.trip.filefilter.ConvertAbility
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ConvertAbility>
public enum ConvertAbility extends java.lang.Enum<ConvertAbility>
Indicates the adapter's ability to convert a particular input file to a particular target format.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
No
public static final ConvertAbility No
Adapter cannot convert specified file to requested target format.
-
Yes
public static final ConvertAbility Yes
Adapter can specified file to requested target format.
-
Maybe
public static final ConvertAbility Maybe
Adapter can possibly convert specified file to requested target format.
-
-
Method Detail
-
values
public static ConvertAbility[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConvertAbility c : ConvertAbility.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConvertAbility valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getAbility
public int getAbility()
The ability code as an integer value.
-
-