|
Copyright 2013-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.monte.media.tiff.TIFFNode
org.monte.media.tiff.TIFFDirectory
public class TIFFDirectory
A convenience class for working with TIFF IFD's.
| Field Summary |
|---|
| Fields inherited from class org.monte.media.tiff.TIFFNode |
|---|
ifdEntry, tag |
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.monte.media.tiff.TIFFNode |
|---|
add, getChildAt, getChildCount, getChildren, getIFDEntry, getParent, getTag, getTagName, getTagNumber, postorderIterator, preorderIterator, removeFromParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
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
|
Copyright 2013-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||