Metadata Extractor Logo

com.drew.metadata.exif
Class PentaxMakernoteDescriptor

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

public class PentaxMakernoteDescriptor
extends TagDescriptor

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.drew.metadata.TagDescriptor
_directory
 
Constructor Summary
PentaxMakernoteDescriptor(Directory directory)
           
 
Method Summary
 java.lang.String getCaptureModeDescription()
           
 java.lang.String getColourDescription()
           
 java.lang.String getContrastDescription()
           
 java.lang.String getDescription(int tagType)
          Returns a descriptive value of the the specified tag for this image.
 java.lang.String getDigitalZoomDescription()
           
 java.lang.String getFlashModeDescription()
           
 java.lang.String getFocusModeDescription()
           
 java.lang.String getIsoSpeedDescription()
           
 java.lang.String getQualityLevelDescription()
           
 java.lang.String getSaturationDescription()
           
 java.lang.String getSharpnessDescription()
           
 java.lang.String getWhiteBalanceDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PentaxMakernoteDescriptor

public PentaxMakernoteDescriptor(Directory directory)
Method Detail

getDescription

public java.lang.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

getColourDescription

public java.lang.String getColourDescription()
                                      throws MetadataException
Throws:
MetadataException

getIsoSpeedDescription

public java.lang.String getIsoSpeedDescription()
                                        throws MetadataException
Throws:
MetadataException

getSaturationDescription

public java.lang.String getSaturationDescription()
                                          throws MetadataException
Throws:
MetadataException

getContrastDescription

public java.lang.String getContrastDescription()
                                        throws MetadataException
Throws:
MetadataException

getSharpnessDescription

public java.lang.String getSharpnessDescription()
                                         throws MetadataException
Throws:
MetadataException

getDigitalZoomDescription

public java.lang.String getDigitalZoomDescription()
                                           throws MetadataException
Throws:
MetadataException

getWhiteBalanceDescription

public java.lang.String getWhiteBalanceDescription()
                                            throws MetadataException
Throws:
MetadataException

getFlashModeDescription

public java.lang.String getFlashModeDescription()
                                         throws MetadataException
Throws:
MetadataException

getFocusModeDescription

public java.lang.String getFocusModeDescription()
                                         throws MetadataException
Throws:
MetadataException

getQualityLevelDescription

public java.lang.String getQualityLevelDescription()
                                            throws MetadataException
Throws:
MetadataException

getCaptureModeDescription

public java.lang.String getCaptureModeDescription()
                                           throws MetadataException
Throws:
MetadataException

Metadata Extractor Logo

Copyright © 2006 Drew Noakes. All Rights Reserved.