Enum FAXOutputDevice.FAXType
- java.lang.Object
-
- java.lang.Enum<FAXOutputDevice.FAXType>
-
- com.levigo.jadice.server.ghostscript.FAXOutputDevice.FAXType
-
- All Implemented Interfaces:
Serializable
,Comparable<FAXOutputDevice.FAXType>
- Enclosing class:
- FAXOutputDevice
public static enum FAXOutputDevice.FAXType extends Enum<FAXOutputDevice.FAXType>
This enum determines the type of FAX that is generated.
-
-
Field Summary
Fields Modifier and Type Field Description String
deviceName
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FAXOutputDevice.FAXType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FAXOutputDevice.FAXType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
G3
public static final FAXOutputDevice.FAXType G3
G3 fax encoding (CCITT T.4)
-
G4
public static final FAXOutputDevice.FAXType G4
G4 fax encoding (CCITT T.6)
-
G32D
public static final FAXOutputDevice.FAXType G32D
2-D G3 fax encoding (CCITT T.4)
-
-
Field Detail
-
deviceName
public final String deviceName
-
-
Method Detail
-
values
public static FAXOutputDevice.FAXType[] 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 (FAXOutputDevice.FAXType c : FAXOutputDevice.FAXType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FAXOutputDevice.FAXType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-