|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.drew.metadata.TagDescriptor
public abstract class TagDescriptor
Abstract base class for all tag descriptor classes. Implementations are responsible for providing the human-readable string represenation of tag values stored in a directory. The directory is provided to the tag descriptor via its constructor.
Field Summary | |
---|---|
protected Directory |
_directory
|
Constructor Summary | |
---|---|
TagDescriptor(Directory directory)
|
Method Summary | |
---|---|
abstract java.lang.String |
getDescription(int tagType)
Returns a descriptive value of the the specified tag for this image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Directory _directory
Constructor Detail |
---|
public TagDescriptor(Directory directory)
Method Detail |
---|
public abstract java.lang.String getDescription(int tagType) throws MetadataException
This and getString(int) are the only 'get' methods that won't throw an exception.
tagType
- the tag to find a description for
null
if the tag hasn't been defined.
MetadataException
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |