public abstract class TagDescriptor
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected Directory |
_directory |
Constructor and Description |
---|
TagDescriptor(Directory directory) |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getDescription(int tagType)
Returns a descriptive value of the the specified tag for this image.
|
protected final Directory _directory
public TagDescriptor(Directory directory)
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 fornull
if the tag hasn't been defined.MetadataException
Copyright © 2006 Drew Noakes. All Rights Reserved.