public enum IFDDataType extends java.lang.Enum<IFDDataType>
Sources:
TIFF TM Revision 6.0. Final — June 3, 1992.
Adobe Systems Inc.
http://www.exif.org/specifications.html
Adobe PageMaker® 6.0 TIFF Technical Notes - September 14, 1995
Adobe Systems Inc.
http://www.alternatiff.com/resources/TIFFPM6.pdf
Enum Constant and Description |
---|
ASCII
8-bit byte that contains a 7-bit ASCII code; the last byte
must be NUL (binary zero).
|
BYTE
8-bit unsigned integer.
|
DOUBLE
Double precision (8-byte) IEEE format.
|
FLOAT
Single precision (4-byte) IEEE format.
|
IFD
32-bit (4-byte) unsigned integer pointing to another IFD,
as defined in TIFF Tech Note 1 in TIFF Specification Supplement 1.
|
LONG
32-bit (4-byte) unsigned integer.
|
RATIONAL
Two LONGs: the first represents the numerator of a fraction; the second,
the denominator.
|
SBYTE
An 8-bit signed (twos-complement) integer.
|
SHORT
16-bit (2-byte) unsigned integer.
|
SLONG
A 32-bit (4-byte) signed (twos-complement) integer.
|
SRATIONAL
Two SLONG’s: the first represents the numerator of a fraction, the
second the denominator.
|
SSHORT
A 16-bit (2-byte) signed (twos-complement) integer.
|
UNDEFINED
An 8-bit byte that may contain anything, depending on the definition of
the field.
|
Modifier and Type | Method and Description |
---|---|
int |
getTypeNumber() |
static IFDDataType |
valueOf(int typeNumber)
Gets the tag for the specified value.
|
static IFDDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IFDDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IFDDataType ASCII
public static final IFDDataType BYTE
public static final IFDDataType SHORT
public static final IFDDataType LONG
public static final IFDDataType RATIONAL
public static final IFDDataType SBYTE
public static final IFDDataType UNDEFINED
public static final IFDDataType SSHORT
public static final IFDDataType SLONG
public static final IFDDataType SRATIONAL
public static final IFDDataType FLOAT
public static final IFDDataType DOUBLE
public static final IFDDataType IFD
public static IFDDataType[] values()
for (IFDDataType c : IFDDataType.values()) System.out.println(c);
public static IFDDataType 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 int getTypeNumber()
public static IFDDataType valueOf(int typeNumber)