Package loci.formats.codec
Enum JPEG2000SegmentMarker
- All Implemented Interfaces:
Serializable,Comparable<JPEG2000SegmentMarker>,java.lang.constant.Constable,CodedEnum
An enumeration of JPEG 2000 segment markers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic JPEG2000SegmentMarkerget(int code) Retrieves the segment marker by reverse lookup of its "code".intgetCode()Implemented as specified by theCodedEnumI/F.getName()Returns the name of the segment marker.static JPEG2000SegmentMarkerReturns the enum constant of this type with the specified name.static JPEG2000SegmentMarker[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RESERVED_DELIMITER_MARKER_MIN
-
RESERVED_DELIMITER_MARKER_MAX
-
SOC
-
SOC_WRONG_ENDIANNESS
-
SOT
-
SOD
-
EOC
-
SIZ
-
COD
-
COC
-
RGN
-
QCD
-
QCC
-
POC
-
TLM
-
PLM
-
PLT
-
PPM
-
PPT
-
SOP
-
EPH
-
CRG
-
COM
-
-
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
-
get
Retrieves the segment marker by reverse lookup of its "code".- Parameters:
code- The code to look up.- Returns:
- The
JPEG2000SegmentMarkerinstance for thecodeornullif it does not exist.
-
getCode
public int getCode()Implemented as specified by theCodedEnumI/F. -
getName
Returns the name of the segment marker.- Returns:
- See above.
-