public class TiffDirectory extends TiffElement
| Modifier and Type | Class and Description |
|---|---|
static class |
TiffDirectory.ImageDataElement |
TiffElement.DataElement, TiffElement.Stub| Modifier and Type | Field and Description |
|---|---|
java.util.List<TiffField> |
entries |
long |
nextDirectoryOffset |
int |
type |
COMPARATOR, length, offset| Constructor and Description |
|---|
TiffDirectory(int type,
java.util.List<TiffField> entries,
long offset,
long nextDirectoryOffset) |
getElementDescriptionpublic final int type
public final java.util.List<TiffField> entries
public final long nextDirectoryOffset
public TiffDirectory(int type,
java.util.List<TiffField> entries,
long offset,
long nextDirectoryOffset)
public java.lang.String description()
public java.lang.String getElementDescription(boolean verbose)
getElementDescription in class TiffElementpublic static java.lang.String description(int type)
public java.util.List<TiffField> getDirectoryEntries()
public void dump()
public boolean hasJpegImageData()
throws ImageReadException
ImageReadExceptionpublic boolean hasTiffImageData()
throws ImageReadException
ImageReadExceptionpublic java.awt.image.BufferedImage getTiffImage(java.nio.ByteOrder byteOrder)
throws ImageReadException,
java.io.IOException
ImageReadExceptionjava.io.IOExceptionpublic java.awt.image.BufferedImage getTiffImage(java.nio.ByteOrder byteOrder,
java.util.Map<java.lang.String,java.lang.Object> params)
throws ImageReadException,
java.io.IOException
ImageReadExceptionjava.io.IOExceptionpublic TiffField findField(TagInfo tag) throws ImageReadException
ImageReadExceptionpublic TiffField findField(TagInfo tag, boolean failIfMissing) throws ImageReadException
ImageReadExceptionpublic java.lang.Object getFieldValue(TagInfo tag) throws ImageReadException
ImageReadExceptionpublic byte getSingleFieldValue(TagInfoByte tag) throws ImageReadException
ImageReadExceptionpublic java.lang.String getSingleFieldValue(TagInfoAscii tag) throws ImageReadException
ImageReadExceptionpublic short getSingleFieldValue(TagInfoShort tag) throws ImageReadException
ImageReadExceptionpublic int getSingleFieldValue(TagInfoLong tag) throws ImageReadException
ImageReadExceptionpublic int getSingleFieldValue(TagInfoShortOrLong tag) throws ImageReadException
ImageReadExceptionpublic RationalNumber getSingleFieldValue(TagInfoRational tag) throws ImageReadException
ImageReadExceptionpublic byte getSingleFieldValue(TagInfoSByte tag) throws ImageReadException
ImageReadExceptionpublic short getSingleFieldValue(TagInfoSShort tag) throws ImageReadException
ImageReadExceptionpublic int getSingleFieldValue(TagInfoSLong tag) throws ImageReadException
ImageReadExceptionpublic RationalNumber getSingleFieldValue(TagInfoSRational tag) throws ImageReadException
ImageReadExceptionpublic float getSingleFieldValue(TagInfoFloat tag) throws ImageReadException
ImageReadExceptionpublic double getSingleFieldValue(TagInfoDouble tag) throws ImageReadException
ImageReadExceptionpublic byte[] getFieldValue(TagInfoByte tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic java.lang.String[] getFieldValue(TagInfoAscii tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic short[] getFieldValue(TagInfoShort tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic int[] getFieldValue(TagInfoLong tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic int[] getFieldValue(TagInfoShortOrLong tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic RationalNumber[] getFieldValue(TagInfoRational tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic byte[] getFieldValue(TagInfoSByte tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic short[] getFieldValue(TagInfoSShort tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic int[] getFieldValue(TagInfoSLong tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic RationalNumber[] getFieldValue(TagInfoSRational tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic float[] getFieldValue(TagInfoFloat tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic double[] getFieldValue(TagInfoDouble tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic java.lang.String getFieldValue(TagInfoGpsText tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic java.lang.String getFieldValue(TagInfoXpString tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic java.util.List<TiffDirectory.ImageDataElement> getTiffRawImageDataElements() throws ImageReadException
ImageReadExceptionpublic boolean imageDataInStrips()
throws ImageReadException
ImageReadExceptionpublic TiffDirectory.ImageDataElement getJpegRawImageDataElement() throws ImageReadException
ImageReadExceptionpublic void setTiffImageData(TiffImageData rawImageData)
public TiffImageData getTiffImageData()
public void setJpegImageData(JpegImageData value)
public JpegImageData getJpegImageData()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"