com.drew.metadata.exif

Class KyoceraMakernoteDescriptor

Implemented Interfaces:
Serializable

public class KyoceraMakernoteDescriptor
extends TagDescriptor

Provides human-readable string versions of the tags stored in a KyoceraMakernoteDirectory. Some information about this makernote taken from here: http://www.ozhiker.com/electronics/pjmt/jpeg_info/kyocera_mn.html Most manufacturer's MakerNote counts the "offset to data" from the first byte of TIFF header (same as the other IFD), but Kyocera (along with Fujifilm) counts it from the first byte of MakerNote itself.

Field Summary

Fields inherited from class com.drew.metadata.TagDescriptor

_directory

Constructor Summary

KyoceraMakernoteDescriptor(Directory directory)

Method Summary

String
getDescription(int tagType)
Returns a descriptive value of the the specified tag for this image.
String
getPrintImageMatchingInfoDescription()
String
getProprietaryThumbnailDataDescription()

Methods inherited from class com.drew.metadata.TagDescriptor

getDescription

Constructor Details

KyoceraMakernoteDescriptor

public KyoceraMakernoteDescriptor(Directory directory)

Method Details

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.

getPrintImageMatchingInfoDescription

public String getPrintImageMatchingInfoDescription()
            throws MetadataException

getProprietaryThumbnailDataDescription

public String getProprietaryThumbnailDataDescription()
            throws MetadataException

Copyright © 2006 Drew Noakes. All Rights Reserved.