Class TIFFEntry
java.lang.Object
com.twelvemonkeys.imageio.metadata.AbstractEntry
com.twelvemonkeys.imageio.metadata.tiff.TIFFEntry
- All Implemented Interfaces:
Entry
Represents a TIFF IFD entry.
- Version:
- $Id: TIFFEntry.java,v 1.0 Nov 13, 2009 5:47:35 PM haraldk Exp$
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturnsnull, meaning unknown or undefined.shortgetType()(package private) static short(package private) static longgetValueLength(int pType, long pCount) private static shortMethods inherited from class AbstractEntry
equals, getIdentifier, getNativeIdentifier, getValue, getValueAsString, hashCode, toString, valueCount
-
Field Details
-
type
private final short type
-
-
Constructor Details
-
TIFFEntry
Creates a newTIFFEntry.- Parameters:
identifier- the TIFF tag identifier.value- the value of the entry.- Throws:
IllegalArgumentException- ifvalueisnull.- See Also:
-
TIFFEntry
Creates a newTIFFEntry.- Parameters:
identifier- the TIFF tag identifier.type- the type of the entry.value- the value of the entry.- Throws:
IllegalArgumentException- iftypeis not a legal TIFF type.- See Also:
-
-
Method Details
-
getType
public short getType() -
getFieldName
Description copied from class:AbstractEntryReturnsnull, meaning unknown or undefined.- Specified by:
getFieldNamein interfaceEntry- Overrides:
getFieldNamein classAbstractEntry- Returns:
null.
-
getTypeName
- Specified by:
getTypeNamein interfaceEntry- Overrides:
getTypeNamein classAbstractEntry
-
getType
-
guessType
-
getValueLength
static long getValueLength(int pType, long pCount)
-