org.monte.media.tiff
Class TagSet
java.lang.Object
org.monte.media.tiff.TagSet
- Direct Known Subclasses:
- BaselineTagSet, EXIFTagSet, FujifilmMakerNoteTagSet, GPSTagSet, ImageTagSet, InteroperabilityTagSet, MPEntryTagSet, MPFTagSet, SonyMakerNoteTagSet, TrackTagSet
public abstract class TagSet
- extends java.lang.Object
A class representing a set of TIFF tags. Each tag in the set must have a
unique number (this is a limitation of the TIFF specification itself).
This class and its subclasses are responsible for mapping between raw tag
numbers and TIFFTag objects, which contain additional information about each
tag, such as the tag's name, legal data types, and mnemonic names for some or
all of its data values.
- Version:
- 1.0 2010-07-24 Created.
- Author:
- Werner Randelshofer
|
Constructor Summary |
TagSet(java.lang.String name,
TIFFTag[] tags)
|
|
Method Summary |
java.lang.String |
getName()
|
TIFFTag |
getTag(int tagNumber)
Returns the TIFFTag from this set that is associated with the given
tag number. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagSet
public TagSet(java.lang.String name,
TIFFTag[] tags)
getTag
public TIFFTag getTag(int tagNumber)
- Returns the TIFFTag from this set that is associated with the given
tag number.
Returns a TIFFTag with name "unknown" if the tag is not defined.
getName
public java.lang.String getName()
- Returns:
- the name