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.String
getFieldName()
Returnsnull
, meaning unknown or undefined.short
getType()
java.lang.String
getTypeName()
-
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
- ifvalue
isnull
.- 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
- iftype
is not a legal TIFF type.- See Also:
TIFF
-
-
Method Detail
-
getType
public short getType()
-
getFieldName
public java.lang.String getFieldName()
Description copied from class:AbstractEntry
Returnsnull
, meaning unknown or undefined.- Specified by:
getFieldName
in interfaceEntry
- Overrides:
getFieldName
in classAbstractEntry
- Returns:
null
.
-
getTypeName
public java.lang.String getTypeName()
- Specified by:
getTypeName
in interfaceEntry
- Overrides:
getTypeName
in classAbstractEntry
-
-