Class TIFFEntry
- java.lang.Object
-
- com.twelvemonkeys.imageio.metadata.AbstractEntry
-
- com.twelvemonkeys.imageio.metadata.tiff.TIFFEntry
-
- All Implemented Interfaces:
Entry
public final class TIFFEntry extends AbstractEntry
Represents a TIFF IFD entry.- Version:
- $Id: TIFFEntry.java,v 1.0 Nov 13, 2009 5:47:35 PM haraldk Exp$
- Author:
- Harald Kuhr, last modified by $Author: haraldk$
- See Also:
TIFF,IFD
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFieldName()Returnsnull, meaning unknown or undefined.shortgetType()java.lang.StringgetTypeName()-
Methods inherited from class com.twelvemonkeys.imageio.metadata.AbstractEntry
equals, getIdentifier, getNativeIdentifier, getValue, getValueAsString, hashCode, toString, valueCount
-
-
-
-
Constructor Detail
-
TIFFEntry
public TIFFEntry(int identifier, java.lang.Object value)Creates a newTIFFEntry.- Parameters:
identifier- the TIFF tag identifier.value- the value of the entry.- Throws:
java.lang.IllegalArgumentException- ifvalueisnull.- See Also:
TIFFEntry(int, short, Object)
-
TIFFEntry
public TIFFEntry(int identifier, short type, java.lang.Object value)Creates a newTIFFEntry.- Parameters:
identifier- the TIFF tag identifier.type- the type of the entry.value- the value of the entry.- Throws:
java.lang.IllegalArgumentException- iftypeis not a legal TIFF type.- See Also:
TIFF
-
-
Method Detail
-
getType
public short getType()
-
getFieldName
public java.lang.String getFieldName()
Description copied from class:AbstractEntryReturnsnull, meaning unknown or undefined.- Specified by:
getFieldNamein interfaceEntry- Overrides:
getFieldNamein classAbstractEntry- Returns:
null.
-
getTypeName
public java.lang.String getTypeName()
- Specified by:
getTypeNamein interfaceEntry- Overrides:
getTypeNamein classAbstractEntry
-
-