public class TiffField
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
TiffField.OversizeValueElement |
| Constructor and Description |
|---|
TiffField(int tag,
int directoryType,
FieldType fieldType,
long count,
long offset,
byte[] value,
java.nio.ByteOrder byteOrder,
int sortHint) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump() |
void |
dump(java.io.PrintWriter pw) |
void |
dump(java.io.PrintWriter pw,
java.lang.String prefix) |
byte[] |
getByteArrayValue()
Returns a copy of the raw value of the field.
|
java.nio.ByteOrder |
getByteOrder()
Returns the field's byte order.
|
int |
getBytesLength()
The length of the field's value.
|
long |
getCount()
Returns the field's count, derived from bytes 4-7.
|
java.lang.String |
getDescriptionWithoutValue() |
int |
getDirectoryType() |
double[] |
getDoubleArrayValue() |
double |
getDoubleValue() |
FieldType |
getFieldType()
Returns the field's type, derived from bytes 2-3.
|
java.lang.String |
getFieldTypeName() |
int[] |
getIntArrayValue() |
int |
getIntValue() |
int |
getIntValueOrArraySum() |
int |
getOffset()
Returns the TIFF field's offset/value field, derived from bytes 8-11.
|
TiffElement |
getOversizeValueElement() |
int |
getSortHint() |
java.lang.String |
getStringValue() |
int |
getTag()
Returns the field's tag, derived from bytes 0-1.
|
TagInfo |
getTagInfo() |
java.lang.String |
getTagName() |
java.lang.Object |
getValue() |
java.lang.String |
getValueDescription() |
boolean |
isLocalValue()
Indicates whether the field's value is inlined into the offset field.
|
java.lang.String |
toString() |
public TiffField(int tag,
int directoryType,
FieldType fieldType,
long count,
long offset,
byte[] value,
java.nio.ByteOrder byteOrder,
int sortHint)
public int getDirectoryType()
public TagInfo getTagInfo()
public int getTag()
int in which only the lowest 2 bytes are setpublic FieldType getFieldType()
FieldType object.public long getCount()
public int getOffset()
long of 4 packed bytes,
or its inlined value <= 4 bytes long encoded in the field's byte order.public java.nio.ByteOrder getByteOrder()
public int getSortHint()
public boolean isLocalValue()
public int getBytesLength()
public byte[] getByteArrayValue()
public TiffElement getOversizeValueElement()
public java.lang.String getValueDescription()
public void dump()
public void dump(java.io.PrintWriter pw)
public void dump(java.io.PrintWriter pw,
java.lang.String prefix)
public java.lang.String getDescriptionWithoutValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getTagName()
public java.lang.String getFieldTypeName()
public java.lang.Object getValue()
throws ImageReadException
ImageReadExceptionpublic java.lang.String getStringValue()
throws ImageReadException
ImageReadExceptionpublic int[] getIntArrayValue()
throws ImageReadException
ImageReadExceptionpublic double[] getDoubleArrayValue()
throws ImageReadException
ImageReadExceptionpublic int getIntValueOrArraySum()
throws ImageReadException
ImageReadExceptionpublic int getIntValue()
throws ImageReadException
ImageReadExceptionpublic double getDoubleValue()
throws ImageReadException
ImageReadException"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"