Enum Constant and Description |
---|
ASCII |
BYTE |
DOUBLE |
FLOAT |
IFD |
IFD8 |
LONG |
LONG8 |
RATIONAL |
SBYTE |
SHORT |
SLONG |
SLONG8 |
SRATIONAL |
SSHORT |
UNDEFINED |
Modifier and Type | Field and Description |
---|---|
private int |
bytesPerElement
Number of bytes per element of this type.
|
private int |
code
Code for the IFD type in the actual TIFF file.
|
private static java.util.Map<java.lang.Integer,IFDType> |
lookup |
Modifier and Type | Method and Description |
---|---|
static IFDType |
get(int code)
Retrieves a IFD type by reverse lookup of its "code".
|
int |
getBytesPerElement()
Retrieves the number of bytes per element.
|
int |
getCode() |
static IFDType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IFDType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IFDType BYTE
public static final IFDType ASCII
public static final IFDType SHORT
public static final IFDType LONG
public static final IFDType RATIONAL
public static final IFDType SBYTE
public static final IFDType UNDEFINED
public static final IFDType SSHORT
public static final IFDType SLONG
public static final IFDType SRATIONAL
public static final IFDType FLOAT
public static final IFDType DOUBLE
public static final IFDType IFD
public static final IFDType LONG8
public static final IFDType SLONG8
public static final IFDType IFD8
private int code
private int bytesPerElement
private static final java.util.Map<java.lang.Integer,IFDType> lookup
public static IFDType[] values()
for (IFDType c : IFDType.values()) System.out.println(c);
public static IFDType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static IFDType get(int code)
code
- The code to look up.IFDType
instance for the code
or
null
if it does not exist.public int getCode()
getCode
in interface loci.common.enumeration.CodedEnum
public int getBytesPerElement()
Copyright © 2019 Open Microscopy Environment