23 * questions.
24 */
25 package javax.imageio.plugins.tiff;
26
27 import java.util.Iterator;
28 import java.util.Set;
29 import java.util.SortedMap;
30 import java.util.TreeMap;
31
32 /**
33 * A class defining the notion of a TIFF tag. A TIFF tag is a key
34 * that may appear in an Image File Directory (IFD). In the IFD
35 * each tag has some data associated with it, which may consist of zero
36 * or more values of a given data type. The combination of a tag and a
37 * value is known as an IFD Entry or TIFF Field.
38 *
39 * <p> The actual tag values used in the root IFD of a standard ("baseline")
40 * tiff stream are defined in the {@link BaselineTIFFTagSet
41 * BaselineTIFFTagSet} class.
42 *
43 * @since 1.9
44 * @see BaselineTIFFTagSet
45 * @see TIFFField
46 * @see TIFFTagSet
47 */
48 public class TIFFTag {
49
50 // TIFF 6.0 + Adobe PageMaker(R) 6.0 TIFF Technical Notes 1 IFD data type
51
52 /** Flag for 8 bit unsigned integers. */
53 public static final int TIFF_BYTE = 1;
54
55 /** Flag for null-terminated ASCII strings. */
56 public static final int TIFF_ASCII = 2;
57
58 /** Flag for 16 bit unsigned integers. */
59 public static final int TIFF_SHORT = 3;
60
61 /** Flag for 32 bit unsigned integers. */
62 public static final int TIFF_LONG = 4;
63
|
23 * questions.
24 */
25 package javax.imageio.plugins.tiff;
26
27 import java.util.Iterator;
28 import java.util.Set;
29 import java.util.SortedMap;
30 import java.util.TreeMap;
31
32 /**
33 * A class defining the notion of a TIFF tag. A TIFF tag is a key
34 * that may appear in an Image File Directory (IFD). In the IFD
35 * each tag has some data associated with it, which may consist of zero
36 * or more values of a given data type. The combination of a tag and a
37 * value is known as an IFD Entry or TIFF Field.
38 *
39 * <p> The actual tag values used in the root IFD of a standard ("baseline")
40 * tiff stream are defined in the {@link BaselineTIFFTagSet
41 * BaselineTIFFTagSet} class.
42 *
43 * @since 9
44 * @see BaselineTIFFTagSet
45 * @see TIFFField
46 * @see TIFFTagSet
47 */
48 public class TIFFTag {
49
50 // TIFF 6.0 + Adobe PageMaker(R) 6.0 TIFF Technical Notes 1 IFD data type
51
52 /** Flag for 8 bit unsigned integers. */
53 public static final int TIFF_BYTE = 1;
54
55 /** Flag for null-terminated ASCII strings. */
56 public static final int TIFF_ASCII = 2;
57
58 /** Flag for 16 bit unsigned integers. */
59 public static final int TIFF_SHORT = 3;
60
61 /** Flag for 32 bit unsigned integers. */
62 public static final int TIFF_LONG = 4;
63
|