com.drew.metadata
Class DefaultTagDescriptor
java.lang.Object
com.drew.metadata.TagDescriptor<Directory>
com.drew.metadata.DefaultTagDescriptor
public class DefaultTagDescriptor
- extends TagDescriptor<Directory>
A default implementation of the abstract TagDescriptor. As this class is not coded with awareness of any metadata
tags, it simply reports tag names using the format 'Unknown tag 0x00' (with the corresponding tag number in hex)
and gives descriptions using the default string representation of the value.
- Author:
- Drew Noakes http://drewnoakes.com
|
Method Summary |
String |
getTagName(int tagType)
Gets a best-effort tag name using the format 'Unknown tag 0x00' (with the corresponding tag type in hex). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTagDescriptor
public DefaultTagDescriptor(Directory directory)
getTagName
public String getTagName(int tagType)
- Gets a best-effort tag name using the format 'Unknown tag 0x00' (with the corresponding tag type in hex).
- Parameters:
tagType - the tag type identifier.
- Returns:
- a string representation of the tag name.
Copyright © 2012. All Rights Reserved.