com.drew.metadata.exif
Class PanasonicMakernoteDescriptor

java.lang.Object
  extended by com.drew.metadata.TagDescriptor
      extended by com.drew.metadata.exif.PanasonicMakernoteDescriptor
All Implemented Interfaces:
Serializable

public class PanasonicMakernoteDescriptor
extends TagDescriptor

Provides human-readable string represenations of tag values stored in a PanasonicMakernoteDirectory. Some information about this makernote taken from here: http://www.ozhiker.com/electronics/pjmt/jpeg_info/panasonic_mn.html

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.drew.metadata.TagDescriptor
_directory
 
Constructor Summary
PanasonicMakernoteDescriptor(Directory directory)
           
 
Method Summary
 String getDescription(int tagType)
          Returns a descriptive value of the the specified tag for this image.
 String getMacroModeDescription()
           
 String getPrintImageMatchingInfoDescription()
           
 String getRecordModeDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanasonicMakernoteDescriptor

public PanasonicMakernoteDescriptor(Directory directory)
Method Detail

getDescription

public String getDescription(int tagType)
                      throws MetadataException
Description copied from class: TagDescriptor
Returns a descriptive value of the the specified tag for this image. Where possible, known values will be substituted here in place of the raw tokens actually kept in the Exif segment. If no substitution is available, the value provided by getString(int) will be returned.

This and getString(int) are the only 'get' methods that won't throw an exception.

Specified by:
getDescription in class TagDescriptor
Parameters:
tagType - the tag to find a description for
Returns:
a description of the image's value for the specified tag, or null if the tag hasn't been defined.
Throws:
MetadataException

getPrintImageMatchingInfoDescription

public String getPrintImageMatchingInfoDescription()
                                            throws MetadataException
Throws:
MetadataException

getMacroModeDescription

public String getMacroModeDescription()
                               throws MetadataException
Throws:
MetadataException

getRecordModeDescription

public String getRecordModeDescription()
                                throws MetadataException
Throws:
MetadataException