public class TiffImageMetadata extends GenericImageMetadata
| Modifier and Type | Class and Description |
|---|---|
static class |
TiffImageMetadata.Directory |
static class |
TiffImageMetadata.GPSInfo |
static class |
TiffImageMetadata.TiffMetadataItem |
GenericImageMetadata.GenericImageMetadataItemImageMetadata.ImageMetadataItem| Modifier and Type | Field and Description |
|---|---|
TiffContents |
contents |
| Constructor and Description |
|---|
TiffImageMetadata(TiffContents contents) |
| Modifier and Type | Method and Description |
|---|---|
TiffDirectory |
findDirectory(int directoryType) |
TiffField |
findField(TagInfo tagInfo) |
TiffField |
findField(TagInfo tagInfo,
boolean exactDirectoryMatch) |
List<TiffField> |
getAllFields() |
List<? extends ImageMetadata.ImageMetadataItem> |
getDirectories() |
Object |
getFieldValue(TagInfo tag) |
String[] |
getFieldValue(TagInfoAscii tag) |
byte[] |
getFieldValue(TagInfoByte tag) |
double[] |
getFieldValue(TagInfoDouble tag) |
float[] |
getFieldValue(TagInfoFloat tag) |
String |
getFieldValue(TagInfoGpsText tag) |
int[] |
getFieldValue(TagInfoLong tag) |
RationalNumber[] |
getFieldValue(TagInfoRational tag) |
byte[] |
getFieldValue(TagInfoSByte tag) |
short[] |
getFieldValue(TagInfoShort tag) |
int[] |
getFieldValue(TagInfoSLong tag) |
RationalNumber[] |
getFieldValue(TagInfoSRational tag) |
short[] |
getFieldValue(TagInfoSShort tag) |
String |
getFieldValue(TagInfoXpString tag) |
TiffImageMetadata.GPSInfo |
getGPS() |
List<? extends ImageMetadata.ImageMetadataItem> |
getItems() |
TiffOutputSet |
getOutputSet() |
add, add, toString, toStringpublic final TiffContents contents
public TiffImageMetadata(TiffContents contents)
public List<? extends ImageMetadata.ImageMetadataItem> getDirectories()
public List<? extends ImageMetadata.ImageMetadataItem> getItems()
getItems in interface ImageMetadatagetItems in class GenericImageMetadatapublic TiffOutputSet getOutputSet() throws ImageWriteException
ImageWriteExceptionpublic TiffField findField(TagInfo tagInfo) throws ImageReadException
ImageReadExceptionpublic TiffField findField(TagInfo tagInfo, boolean exactDirectoryMatch) throws ImageReadException
ImageReadExceptionpublic Object getFieldValue(TagInfo tag) throws ImageReadException
ImageReadExceptionpublic byte[] getFieldValue(TagInfoByte tag) throws ImageReadException
ImageReadExceptionpublic String[] getFieldValue(TagInfoAscii tag) throws ImageReadException
ImageReadExceptionpublic short[] getFieldValue(TagInfoShort tag) throws ImageReadException
ImageReadExceptionpublic int[] getFieldValue(TagInfoLong tag) throws ImageReadException
ImageReadExceptionpublic RationalNumber[] getFieldValue(TagInfoRational tag) throws ImageReadException
ImageReadExceptionpublic byte[] getFieldValue(TagInfoSByte tag) throws ImageReadException
ImageReadExceptionpublic short[] getFieldValue(TagInfoSShort tag) throws ImageReadException
ImageReadExceptionpublic int[] getFieldValue(TagInfoSLong tag) throws ImageReadException
ImageReadExceptionpublic RationalNumber[] getFieldValue(TagInfoSRational tag) throws ImageReadException
ImageReadExceptionpublic float[] getFieldValue(TagInfoFloat tag) throws ImageReadException
ImageReadExceptionpublic double[] getFieldValue(TagInfoDouble tag) throws ImageReadException
ImageReadExceptionpublic String getFieldValue(TagInfoGpsText tag) throws ImageReadException
ImageReadExceptionpublic String getFieldValue(TagInfoXpString tag) throws ImageReadException
ImageReadExceptionpublic TiffDirectory findDirectory(int directoryType)
public TiffImageMetadata.GPSInfo getGPS() throws ImageReadException
ImageReadExceptionCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.