Enum JPEGOutputDevice.JPEGType
- java.lang.Object
-
- java.lang.Enum<JPEGOutputDevice.JPEGType>
-
- com.levigo.jadice.server.ghostscript.JPEGOutputDevice.JPEGType
-
- All Implemented Interfaces:
Serializable
,Comparable<JPEGOutputDevice.JPEGType>
- Enclosing class:
- JPEGOutputDevice
public static enum JPEGOutputDevice.JPEGType extends Enum<JPEGOutputDevice.JPEGType>
This enum determines the type of JPEG 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 JPEGOutputDevice.JPEGType
valueOf(String name)
Returns the enum constant of this type with the specified name.static JPEGOutputDevice.JPEGType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Color
public static final JPEGOutputDevice.JPEGType Color
24-Bit color (TrueColor) images.
-
Grayscale
public static final JPEGOutputDevice.JPEGType Grayscale
8-Bit grayscale images.
-
-
Field Detail
-
deviceName
public final String deviceName
-
-
Method Detail
-
values
public static JPEGOutputDevice.JPEGType[] 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 (JPEGOutputDevice.JPEGType c : JPEGOutputDevice.JPEGType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JPEGOutputDevice.JPEGType 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
-
-