public class TIFFDirectory extends TIFFNode
Constructor and Description |
---|
TIFFDirectory(TagSet tagSet,
TIFFTag tag,
int index)
Creates a TIFFDirectory identified by the specified TIFFTag.
|
TIFFDirectory(TagSet tagSet,
TIFFTag tag,
int index,
IFD ifd,
IFDEntry parentEntry,
java.util.ArrayList<FileSegment> fileSegments)
Creates a TIFFDirectory identified by the specified TIFFTag and associated
with the specified IFD and file segments.
|
TIFFDirectory(TagSet tagSet,
TIFFTag tag,
int index,
IFD ifd,
IFDEntry parentEntry,
FileSegment fileSegment)
Creates a TIFFDirectory identified by the specified TIFFTag and associated
with the specified IFD and file segments.
|
TIFFDirectory(TagSet tagSet,
TIFFTag tag,
int index,
long offset,
long length,
java.util.ArrayList<FileSegment> fileSegments) |
TIFFDirectory(TagSet tagSet,
TIFFTag tag,
int index,
long offset,
long length,
FileSegment fileSegment) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
java.lang.Object |
getData(TIFFTag tag)
Returns the value of the TIFFField with the specified tag.
|
TIFFField |
getField(TIFFTag tag)
Returns a TIFFField with the specified tag.
|
java.util.ArrayList<FileSegment> |
getFileSegments()
Returns the segments of the TIFF file inside its parent file.
|
IFD |
getIFD()
Returns the IFD from which this directory has been read.
|
int |
getIndex() |
long |
getLength() |
java.lang.String |
getName() |
long |
getOffset() |
TagSet |
getTagSet()
Returns the tag set used by this directory.
|
java.lang.String |
toString() |
add, getChildAt, getChildCount, getChildren, getIFDEntry, getParent, getTag, getTagName, getTagNumber, postorderIterator, preorderIterator, removeFromParent
public TIFFDirectory(TagSet tagSet, TIFFTag tag, int index)
public TIFFDirectory(TagSet tagSet, TIFFTag tag, int index, IFD ifd, IFDEntry parentEntry, java.util.ArrayList<FileSegment> fileSegments)
public TIFFDirectory(TagSet tagSet, TIFFTag tag, int index, IFD ifd, IFDEntry parentEntry, FileSegment fileSegment)
public TIFFDirectory(TagSet tagSet, TIFFTag tag, int index, long offset, long length, FileSegment fileSegment)
public TIFFDirectory(TagSet tagSet, TIFFTag tag, int index, long offset, long length, java.util.ArrayList<FileSegment> fileSegments)
public IFD getIFD()
public TagSet getTagSet()
public java.lang.String getName()
public int getIndex()
public int getCount()
public long getOffset()
public long getLength()
public java.util.ArrayList<FileSegment> getFileSegments()
public TIFFField getField(TIFFTag tag)
tag
- public java.lang.Object getData(TIFFTag tag)
tag
- public java.lang.String toString()
toString
in class java.lang.Object