Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.drew.metadata.exif
Class FujifilmMakernoteDescriptor  view FujifilmMakernoteDescriptor download FujifilmMakernoteDescriptor.java

java.lang.Object
  extended bycom.drew.metadata.TagDescriptor
      extended bycom.drew.metadata.exif.FujifilmMakernoteDescriptor
All Implemented Interfaces:
java.io.Serializable

public class FujifilmMakernoteDescriptor
extends com.drew.metadata.TagDescriptor

Fujifilm's digicam added the MakerNote tag from the Year2000's model (e.g.Finepix1400, Finepix4700). It uses IFD format and start from ASCII character 'FUJIFILM', and next 4 bytes(value 0x000c) points the offset to first IFD entry. Example of actual data structure is shown below. :0000: 46 55 4A 49 46 49 4C 4D-0C 00 00 00 0F 00 00 00 :0000: FUJIFILM........ :0010: 07 00 04 00 00 00 30 31-33 30 00 10 02 00 08 00 :0010: ......0130...... There are two big differences to the other manufacturers. - Fujifilm's Exif data uses Motorola align, but MakerNote ignores it and uses Intel align. - The other manufacturer's MakerNote counts the "offset to data" from the first byte of TIFF header (same as the other IFD), but Fujifilm counts it from the first byte of MakerNote itself.


Field Summary
 
Fields inherited from class com.drew.metadata.TagDescriptor
_directory
 
Constructor Summary
FujifilmMakernoteDescriptor(com.drew.metadata.Directory directory)
           
 
Method Summary
private  java.lang.String getAutoExposureWarningDescription()
           
private  java.lang.String getBlurWarningDescription()
           
private  java.lang.String getColorDescription()
           
private  java.lang.String getContinuousTakingOrAutoBrackettingDescription()
           
 java.lang.String getDescription(int tagType)
          Returns a descriptive value of the the specified tag for this image.
private  java.lang.String getFlashModeDescription()
           
private  java.lang.String getFlashStrengthDescription()
           
private  java.lang.String getFocusModeDescription()
           
private  java.lang.String getFocusWarningDescription()
           
private  java.lang.String getMacroDescription()
           
private  java.lang.String getPictureModeDescription()
           
private  java.lang.String getSharpnessDescription()
           
private  java.lang.String getSlowSyncDescription()
           
private  java.lang.String getToneDescription()
           
private  java.lang.String getWhiteBalanceDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FujifilmMakernoteDescriptor

public FujifilmMakernoteDescriptor(com.drew.metadata.Directory directory)
Method Detail

getDescription

public java.lang.String getDescription(int tagType)
                                throws com.drew.metadata.MetadataException
Description copied from class: com.drew.metadata.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.


getAutoExposureWarningDescription

private java.lang.String getAutoExposureWarningDescription()
                                                    throws com.drew.metadata.MetadataException

getFocusWarningDescription

private java.lang.String getFocusWarningDescription()
                                             throws com.drew.metadata.MetadataException

getBlurWarningDescription

private java.lang.String getBlurWarningDescription()
                                            throws com.drew.metadata.MetadataException

getContinuousTakingOrAutoBrackettingDescription

private java.lang.String getContinuousTakingOrAutoBrackettingDescription()
                                                                  throws com.drew.metadata.MetadataException

getPictureModeDescription

private java.lang.String getPictureModeDescription()
                                            throws com.drew.metadata.MetadataException

getSlowSyncDescription

private java.lang.String getSlowSyncDescription()
                                         throws com.drew.metadata.MetadataException

getFocusModeDescription

private java.lang.String getFocusModeDescription()
                                          throws com.drew.metadata.MetadataException

getMacroDescription

private java.lang.String getMacroDescription()
                                      throws com.drew.metadata.MetadataException

getFlashStrengthDescription

private java.lang.String getFlashStrengthDescription()
                                              throws com.drew.metadata.MetadataException

getFlashModeDescription

private java.lang.String getFlashModeDescription()
                                          throws com.drew.metadata.MetadataException

getToneDescription

private java.lang.String getToneDescription()
                                     throws com.drew.metadata.MetadataException

getColorDescription

private java.lang.String getColorDescription()
                                      throws com.drew.metadata.MetadataException

getWhiteBalanceDescription

private java.lang.String getWhiteBalanceDescription()
                                             throws com.drew.metadata.MetadataException

getSharpnessDescription

private java.lang.String getSharpnessDescription()
                                          throws com.drew.metadata.MetadataException