|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--icc.tags.ICCTag
An ICC profile contains a 128-byte header followed by a variable number of tags contained in a tag table. Each tag is a structured block of ints. The tags share a common format on disk starting with a signature, an offset to the tag data, and a length of the tag data. The tag data itself is found at the given offset in the file and consists of a tag type int, followed by a reserved int, followed by a data block, the structure of which is unique to the tag type.
This class is the abstract super class of all tags. It models that part of the structure which is common among tags of all types.
It also contains the definitions of the various tag types.
jj2000.j2k.icc.tags.ICCTagTable| Field Summary | |
int |
count
size of the tag data in the array |
byte[] |
data
Tag data |
private static int |
kdwBkPtSignature
|
private static int |
kdwBTRCSignature
|
private static int |
kdwBXYZSignature
|
private static int |
kdwCprtSignature
|
private static int |
kdwCurveType
|
private static int |
kdwCurveTypeReverse
|
private static int |
kdwDescSignature
|
private static int |
kdwDmddSignature
|
private static int |
kdwDmndSignature
|
private static int |
kdwGTRCSignature
|
private static int |
kdwGXYZSignature
|
private static int |
kdwKTRCSignature
|
private static int |
kdwKXYZSignature
|
private static int |
kdwRTRCSignature
|
private static int |
kdwRXYZSignature
|
private static int |
kdwTextDescType
|
private static int |
kdwTextType
|
private static int |
kdwWtPtSignature
|
private static int |
kdwXYZType
|
private static int |
kdwXYZTypeReverse
|
int |
offset
offset to tag data in the array |
private static java.lang.String |
sdwBkPtSignature
|
private static java.lang.String |
sdwBTRCSignature
|
private static java.lang.String |
sdwBXYZSignature
|
private static java.lang.String |
sdwCprtSignature
|
private static java.lang.String |
sdwCurveType
|
private static java.lang.String |
sdwCurveTypeReverse
|
private static java.lang.String |
sdwDescSignature
|
private static java.lang.String |
sdwDmddSignature
|
private static java.lang.String |
sdwDmndSignature
|
private static java.lang.String |
sdwGTRCSignature
|
private static java.lang.String |
sdwGXYZSignature
|
private static java.lang.String |
sdwKTRCSignature
|
private static java.lang.String |
sdwKXYZSignature
|
private static java.lang.String |
sdwRTRCSignature
|
private static java.lang.String |
sdwRXYZSignature
|
private static java.lang.String |
sdwTextDescType
|
private static java.lang.String |
sdwTextType
|
private static java.lang.String |
sdwWtPtSignature
|
private static java.lang.String |
sdwXYZType
|
private static java.lang.String |
sdwXYZTypeReverse
|
int |
signature
Tag id |
int |
type
Tag type |
| Constructor Summary | |
protected |
ICCTag(int signature,
byte[] data,
int offset,
int count)
Ued by subclass initialization to store the state common to all tags |
| Method Summary | |
static ICCTag |
createInstance(int signature,
byte[] data,
int offset,
int count)
Factory method for creating a tag of a specific type. |
static java.lang.String |
signatureString(int signature)
Create a string representation of the signature |
java.lang.String |
toString()
|
static java.lang.String |
typeString(int type)
Create a string representation of the tag type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final java.lang.String sdwCprtSignature
private static final java.lang.String sdwDescSignature
private static final java.lang.String sdwWtPtSignature
private static final java.lang.String sdwBkPtSignature
private static final java.lang.String sdwRXYZSignature
private static final java.lang.String sdwGXYZSignature
private static final java.lang.String sdwBXYZSignature
private static final java.lang.String sdwKXYZSignature
private static final java.lang.String sdwRTRCSignature
private static final java.lang.String sdwGTRCSignature
private static final java.lang.String sdwBTRCSignature
private static final java.lang.String sdwKTRCSignature
private static final java.lang.String sdwDmndSignature
private static final java.lang.String sdwDmddSignature
private static final int kdwCprtSignature
private static final int kdwDescSignature
private static final int kdwWtPtSignature
private static final int kdwBkPtSignature
private static final int kdwRXYZSignature
private static final int kdwGXYZSignature
private static final int kdwBXYZSignature
private static final int kdwKXYZSignature
private static final int kdwRTRCSignature
private static final int kdwGTRCSignature
private static final int kdwBTRCSignature
private static final int kdwKTRCSignature
private static final int kdwDmndSignature
private static final int kdwDmddSignature
private static final java.lang.String sdwTextDescType
private static final java.lang.String sdwTextType
private static final java.lang.String sdwCurveType
private static final java.lang.String sdwCurveTypeReverse
private static final java.lang.String sdwXYZType
private static final java.lang.String sdwXYZTypeReverse
private static final int kdwTextDescType
private static final int kdwTextType
private static final int kdwCurveType
private static final int kdwCurveTypeReverse
private static final int kdwXYZType
private static final int kdwXYZTypeReverse
public final int signature
public final int type
public final byte[] data
public final int offset
public final int count
| Constructor Detail |
protected ICCTag(int signature,
byte[] data,
int offset,
int count)
signature - tag being createddata - byte array containg embedded tag dataoffset - to tag data in the arraycount - size of tag data in bytes| Method Detail |
public static java.lang.String typeString(int type)
type - input
public static java.lang.String signatureString(int signature)
signature - input
public static ICCTag createInstance(int signature,
byte[] data,
int offset,
int count)
signature - tag to createdata - byte array containg embedded tag dataoffset - to tag data in the arraycount - size of tag data in bytes
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||