|
Copyright 2011-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<IFDDataType>
ch.randelshofer.media.tiff.IFDDataType
public enum IFDDataType
Enumeration of TIFF IFD data types.
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 Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
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 name
java.lang.NullPointerException - if the argument is nullpublic int getTypeNumber()
public static IFDDataType valueOf(int typeNumber)
|
Copyright 2011-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||