Enum TiffPlanarConfiguration
java.lang.Object
java.lang.Enum<TiffPlanarConfiguration>
org.apache.commons.imaging.formats.tiff.constants.TiffPlanarConfiguration
- All Implemented Interfaces:
Serializable
,Comparable<TiffPlanarConfiguration>
Defines options for the organization of data in a TIFF file.
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int
The integer code values used for indicating the planar configuration in a TIFF file. -
Method Summary
Modifier and TypeMethodDescriptionstatic TiffPlanarConfiguration
lenientValueOf
(int codeValue) Interprets an integer code value to determine the enumerated value.static TiffPlanarConfiguration
Returns the enum constant of this type with the specified name.static TiffPlanarConfiguration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CHUNKY
Indicates that data is stored in an interleaved format, so that component values for each pixel are contiguous in the file. -
PLANAR
Indicates that data is stored in a non-interleaved format, component values for each pixel are separated into distinct planes.
-
-
Field Details
-
codeValue
The integer code values used for indicating the planar configuration in a TIFF file.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
lenientValueOf
Interprets an integer code value to determine the enumerated value. Implements lenient rules for handling non-compliant values.- Parameters:
codeValue
- an integer code corresponding to the TIFF specification.- Returns:
- a valid enumeration.
-