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,
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,
ArrayList<FileSegment> fileSegments) |
TIFFDirectory(TagSet tagSet,
TIFFTag tag,
int index,
long offset,
long length,
FileSegment fileSegment) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
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.
|
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() |
String |
getName() |
long |
getOffset() |
TagSet |
getTagSet()
Returns the tag set used by this directory.
|
String |
toString() |
add, getChildAt, getChildCount, getChildren, getIFDEntry, getParent, getTag, getTagName, getTagNumber, postorderIterator, preorderIterator, removeFromParentpublic TIFFDirectory(TagSet tagSet, TIFFTag tag, int index)
public TIFFDirectory(TagSet tagSet, TIFFTag tag, int index, IFD ifd, IFDEntry parentEntry, 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, ArrayList<FileSegment> fileSegments)
public IFD getIFD()
public TagSet getTagSet()
public String getName()
public int getIndex()
public int getCount()
public long getOffset()
public long getLength()
public ArrayList<FileSegment> getFileSegments()
public TIFFField getField(TIFFTag tag)
tag - public Object getData(TIFFTag tag)
tag - Copyright © 2014. All Rights Reserved.