Class TagInfo
java.lang.Object
org.apache.commons.imaging.formats.tiff.taginfos.TagInfo
- Direct Known Subclasses:
- TagInfoAny,- TagInfoAscii,- TagInfoAsciiOrByte,- TagInfoAsciiOrRational,- TagInfoByte,- TagInfoByteOrShort,- TagInfoBytes,- TagInfoDouble,- TagInfoDoubles,- TagInfoFloat,- TagInfoFloats,- TagInfoGpsText,- TagInfoLong,- TagInfoLongOrIfd,- TagInfoLongs,- TagInfoRational,- TagInfoRationals,- TagInfoSByte,- TagInfoSBytes,- TagInfoShort,- TagInfoShortOrLong,- TagInfoShortOrLongOrRational,- TagInfoShortOrRational,- TagInfoShorts,- TagInfoSLong,- TagInfoSLongs,- TagInfoSRational,- TagInfoSRationals,- TagInfoSShort,- TagInfoSShorts,- TagInfoXpString
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal List<AbstractFieldType> final TiffDirectoryTypefinal intstatic final intfinal Stringfinal int
- 
Constructor SummaryConstructorsConstructorDescriptionTagInfo(String name, int tag, List<AbstractFieldType> dataTypes, int length, TiffDirectoryType exifDirectory) TagInfo(String name, int tag, List<AbstractFieldType> dataTypes, int length, TiffDirectoryType exifDirectory, boolean isOffset) TagInfo(String name, int tag, AbstractFieldType dataType) TagInfo(String name, int tag, AbstractFieldType dataType, int length) TagInfo(String name, int tag, AbstractFieldType dataType, int length, TiffDirectoryType exifDirectory) TagInfo(String name, int tag, AbstractFieldType dataType, int length, TiffDirectoryType exifDirectory, boolean isOffset) 
- 
Method SummaryModifier and TypeMethodDescriptionbyte[]encodeValue(AbstractFieldType abstractFieldType, Object value, ByteOrder byteOrder) booleanisOffset()booleanisText()toString()
- 
Field Details- 
LENGTH_UNKNOWN- See Also:
 
- 
name
- 
tag
- 
dataTypes
- 
length
- 
directoryType
 
- 
- 
Constructor Details- 
TagInfo
- 
TagInfo
- 
TagInfopublic TagInfo(String name, int tag, AbstractFieldType dataType, int length, TiffDirectoryType exifDirectory) 
- 
TagInfopublic TagInfo(String name, int tag, AbstractFieldType dataType, int length, TiffDirectoryType exifDirectory, boolean isOffset) 
- 
TagInfopublic TagInfo(String name, int tag, List<AbstractFieldType> dataTypes, int length, TiffDirectoryType exifDirectory) 
- 
TagInfopublic TagInfo(String name, int tag, List<AbstractFieldType> dataTypes, int length, TiffDirectoryType exifDirectory, boolean isOffset) 
 
- 
- 
Method Details- 
encodeValuepublic byte[] encodeValue(AbstractFieldType abstractFieldType, Object value, ByteOrder byteOrder) throws ImagingException - Throws:
- ImagingException
 
- 
getDescription
- 
getValue- Parameters:
- entry- the TIFF field whose value to return
- Returns:
- the value of the TIFF field
- Throws:
- ImagingException- thrown by subclasses
 
- 
isOffset
- 
isText
- 
toString
 
-