public enum IFDType extends Enum<IFDType> implements CodedEnum
Enum Constant and Description |
---|
ASCII |
BYTE |
DOUBLE |
FLOAT |
IFD |
IFD8 |
LONG |
LONG8 |
RATIONAL |
SBYTE |
SHORT |
SLONG |
SLONG8 |
SRATIONAL |
SSHORT |
UNDEFINED |
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()
Retrieves the integer "code" for this enumeration.
|
static IFDType |
valueOf(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
public static IFDType[] values()
for (IFDType c : IFDType.values()) System.out.println(c);
public static IFDType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- 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()
CodedEnum
public int getBytesPerElement()
Copyright © 2014 Open Microscopy Environment