com.drew.metadata.exif

Class PentaxMakernoteDescriptor

Implemented Interfaces:
Serializable

public class PentaxMakernoteDescriptor
extends TagDescriptor

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

Field Summary

Fields inherited from class com.drew.metadata.TagDescriptor

_directory

Constructor Summary

PentaxMakernoteDescriptor(Directory directory)

Method Summary

String
getCaptureModeDescription()
String
getColourDescription()
String
getContrastDescription()
String
getDescription(int tagType)
Returns a descriptive value of the the specified tag for this image.
String
getDigitalZoomDescription()
String
getFlashModeDescription()
String
getFocusModeDescription()
String
getIsoSpeedDescription()
String
getQualityLevelDescription()
String
getSaturationDescription()
String
getSharpnessDescription()
String
getWhiteBalanceDescription()

Methods inherited from class com.drew.metadata.TagDescriptor

getDescription

Constructor Details

PentaxMakernoteDescriptor

public PentaxMakernoteDescriptor(Directory directory)

Method Details

getCaptureModeDescription

public String getCaptureModeDescription()
            throws MetadataException

getColourDescription

public String getColourDescription()
            throws MetadataException

getContrastDescription

public String getContrastDescription()
            throws MetadataException

getDescription

public String getDescription(int tagType)
            throws MetadataException
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.

Overrides:
getDescription in interface 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.

getDigitalZoomDescription

public String getDigitalZoomDescription()
            throws MetadataException

getFlashModeDescription

public String getFlashModeDescription()
            throws MetadataException

getFocusModeDescription

public String getFocusModeDescription()
            throws MetadataException

getIsoSpeedDescription

public String getIsoSpeedDescription()
            throws MetadataException

getQualityLevelDescription

public String getQualityLevelDescription()
            throws MetadataException

getSaturationDescription

public String getSaturationDescription()
            throws MetadataException

getSharpnessDescription

public String getSharpnessDescription()
            throws MetadataException

getWhiteBalanceDescription

public String getWhiteBalanceDescription()
            throws MetadataException

Copyright © 2006 Drew Noakes. All Rights Reserved.