Package gov.nih.mipav.model.file
Enum libxl.JxlSignature
- All Implemented Interfaces:
Serializable,Comparable<libxl.JxlSignature>,java.lang.constant.Constable
- Enclosing class:
libxl
The result of @ref JxlSignatureCheck.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA valid JPEG XL codestream signature was found, that is a JPEG XL image without container.A valid container signature was found, that is a JPEG XL image embedded in a box format container.No valid JPEG XL header was found.Not enough bytes were passed to determine if a valid signature was found. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic libxl.JxlSignatureReturns the enum constant of this type with the specified name.static libxl.JxlSignature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
JXL_SIG_NOT_ENOUGH_BYTES
Not enough bytes were passed to determine if a valid signature was found. -
JXL_SIG_INVALID
No valid JPEG XL header was found. -
JXL_SIG_CODESTREAM
A valid JPEG XL codestream signature was found, that is a JPEG XL image without container. -
JXL_SIG_CONTAINER
A valid container signature was found, that is a JPEG XL image embedded in a box format container.
-
-
Field Details
-
numVal
private final int numVal
-
-
Constructor Details
-
JxlSignature
private JxlSignature(int numVal)
-
-
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
-
getNumVal
public int getNumVal()
-