Enum JPEGColorSpace
- java.lang.Object
-
- java.lang.Enum<JPEGColorSpace>
-
- com.twelvemonkeys.imageio.plugins.jpeg.JPEGColorSpace
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JPEGColorSpace>
enum JPEGColorSpace extends java.lang.Enum<JPEGColorSpace>
JPEGColorSpace- Version:
- $Id: JPEGColorSpace.java,v 1.0 26.04.12 15:05 haraldk Exp$
-
-
Constructor Summary
Constructors Modifier Constructor Description private
JPEGColorSpace()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JPEGColorSpace
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JPEGColorSpace[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Gray
public static final JPEGColorSpace Gray
-
GrayA
public static final JPEGColorSpace GrayA
-
RGB
public static final JPEGColorSpace RGB
-
RGBA
public static final JPEGColorSpace RGBA
-
YCbCr
public static final JPEGColorSpace YCbCr
-
YCbCrA
public static final JPEGColorSpace YCbCrA
-
PhotoYCC
public static final JPEGColorSpace PhotoYCC
-
PhotoYCCA
public static final JPEGColorSpace PhotoYCCA
-
CMYK
public static final JPEGColorSpace CMYK
-
YCCK
public static final JPEGColorSpace YCCK
-
-
Method Detail
-
values
public static JPEGColorSpace[] 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 (JPEGColorSpace c : JPEGColorSpace.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JPEGColorSpace 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
-
-