it.tidalwave.imageio.makernote
Class LeicaMakerNote

java.lang.Object
  extended by it.tidalwave.imageio.raw.Directory
      extended by it.tidalwave.imageio.tiff.IFDSupport
          extended by it.tidalwave.imageio.makernote.LeicaMakerNote
All Implemented Interfaces:
java.io.Serializable

public class LeicaMakerNote
extends IFDSupport

Version:
CVS $Id: LeicaMakerNote.java,v 1.2 2006/02/08 20:03:31 fabriziogiudici Exp $
Author:
Fabrizio Giudici
See Also:
Serialized Form

Nested Class Summary
static class LeicaMakerNoteSupport.Aperture
          This class represents an enumeration for values of Aperture.
static class LeicaMakerNoteSupport.CompressionRate
          This class represents an enumeration for values of CompressionRate.
static class LeicaMakerNoteSupport.Contrast
          This class represents an enumeration for values of Contrast.
static class LeicaMakerNoteSupport.FocusMode
          This class represents an enumeration for values of FocusMode.
static class LeicaMakerNoteSupport.SpotAutofocus
          This class represents an enumeration for values of SpotAutofocus.
static class LeicaMakerNoteSupport.WhiteBalance
          This class represents an enumeration for values of WhiteBalance.
 
Nested classes/interfaces inherited from class it.tidalwave.imageio.raw.Directory
Directory.Enumeration
 
Field Summary
static java.lang.Object APERTURE
          Field Aperture (#31)
static java.lang.Object COMPRESSION_RATE
          Field CompressionRate (#1)
static java.lang.Object CONTRAST
          Field Contrast (#44)
static java.lang.Object FLASH_EV
          Field FlashEV (#36)
static java.lang.Object FOCUS_MODE
          Field FocusMode (#7)
static java.lang.Object LEICA_WHITE_BALANCE
          Field LeicaWhiteBalance (#13)
static java.lang.Object MACRO_MODE
          Field MacroMode (#28)
static java.lang.Object SPOT_AUTOFOCUS
          Field SpotAutofocus (#15)
static java.lang.Object UNKNOWN
          Field Unknown (#65535)
static java.lang.Object WHITE_BALANCE
          Field WhiteBalance (#3)
 
Fields inherited from class it.tidalwave.imageio.raw.Directory
end, nextDirectory, start, tagRegistry
 
Constructor Summary
LeicaMakerNote()
           
 
Method Summary
 LeicaMakerNoteSupport.Aperture getAperture()
          Returns the value of the tag Aperture.
 LeicaMakerNoteSupport.CompressionRate getCompressionRate()
          Returns the value of the tag CompressionRate.
 LeicaMakerNoteSupport.Contrast getContrast()
          Returns the value of the tag Contrast.
 int getFlashEV()
          Returns the value of the tag FlashEV.
 LeicaMakerNoteSupport.FocusMode getFocusMode()
          Returns the value of the tag FocusMode.
 int[] getLeicaWhiteBalance()
          Returns the value of the tag LeicaWhiteBalance.
 int getMacroMode()
          Returns the value of the tag MacroMode.
 LeicaMakerNoteSupport.SpotAutofocus getSpotAutofocus()
          Returns the value of the tag SpotAutofocus.
 int getUnknown()
          Returns the value of the tag Unknown.
 LeicaMakerNoteSupport.WhiteBalance getWhiteBalance()
          Returns the value of the tag WhiteBalance.
 boolean isApertureAvailable()
          Returns true if the tag Aperture is contained in this IFD.
 boolean isCompressionRateAvailable()
          Returns true if the tag CompressionRate is contained in this IFD.
 boolean isContrastAvailable()
          Returns true if the tag Contrast is contained in this IFD.
 boolean isFlashEVAvailable()
          Returns true if the tag FlashEV is contained in this IFD.
 boolean isFocusModeAvailable()
          Returns true if the tag FocusMode is contained in this IFD.
 boolean isLeicaWhiteBalanceAvailable()
          Returns true if the tag LeicaWhiteBalance is contained in this IFD.
 boolean isMacroModeAvailable()
          Returns true if the tag MacroMode is contained in this IFD.
 boolean isSpotAutofocusAvailable()
          Returns true if the tag SpotAutofocus is contained in this IFD.
 boolean isUnknownAvailable()
          Returns true if the tag Unknown is contained in this IFD.
 boolean isWhiteBalanceAvailable()
          Returns true if the tag WhiteBalance is contained in this IFD.
 
Methods inherited from class it.tidalwave.imageio.tiff.IFDSupport
load
 
Methods inherited from class it.tidalwave.imageio.raw.Directory
addDirectory, addNamedDirectory, addTag, asDoubles, asFloats, containsTag, getByte, getBytes, getDouble, getDoubles, getEnd, getFloat, getFloats, getInteger, getIntegers, getNamedDirectory, getNextDirectory, getObject, getRational, getRationals, getRegistry, getStart, getString, getSubDirectoryNames, getTag, getTagName, loadAll, removeTag, subDirectories, tags, toString, toString, toString, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPRESSION_RATE

public static final java.lang.Object COMPRESSION_RATE
Field CompressionRate (#1)


WHITE_BALANCE

public static final java.lang.Object WHITE_BALANCE
Field WhiteBalance (#3)


FOCUS_MODE

public static final java.lang.Object FOCUS_MODE
Field FocusMode (#7)


LEICA_WHITE_BALANCE

public static final java.lang.Object LEICA_WHITE_BALANCE
Field LeicaWhiteBalance (#13)


SPOT_AUTOFOCUS

public static final java.lang.Object SPOT_AUTOFOCUS
Field SpotAutofocus (#15)


MACRO_MODE

public static final java.lang.Object MACRO_MODE
Field MacroMode (#28)


APERTURE

public static final java.lang.Object APERTURE
Field Aperture (#31)


FLASH_EV

public static final java.lang.Object FLASH_EV
Field FlashEV (#36)


CONTRAST

public static final java.lang.Object CONTRAST
Field Contrast (#44)


UNKNOWN

public static final java.lang.Object UNKNOWN
Field Unknown (#65535)

Constructor Detail

LeicaMakerNote

public LeicaMakerNote()
Method Detail

isCompressionRateAvailable

public boolean isCompressionRateAvailable()
Returns true if the tag CompressionRate is contained in this IFD.


getCompressionRate

public LeicaMakerNoteSupport.CompressionRate getCompressionRate()
Returns the value of the tag CompressionRate.


isWhiteBalanceAvailable

public boolean isWhiteBalanceAvailable()
Returns true if the tag WhiteBalance is contained in this IFD.


getWhiteBalance

public LeicaMakerNoteSupport.WhiteBalance getWhiteBalance()
Returns the value of the tag WhiteBalance.


isFocusModeAvailable

public boolean isFocusModeAvailable()
Returns true if the tag FocusMode is contained in this IFD.


getFocusMode

public LeicaMakerNoteSupport.FocusMode getFocusMode()
Returns the value of the tag FocusMode.


isLeicaWhiteBalanceAvailable

public boolean isLeicaWhiteBalanceAvailable()
Returns true if the tag LeicaWhiteBalance is contained in this IFD.


getLeicaWhiteBalance

public int[] getLeicaWhiteBalance()
Returns the value of the tag LeicaWhiteBalance.


isSpotAutofocusAvailable

public boolean isSpotAutofocusAvailable()
Returns true if the tag SpotAutofocus is contained in this IFD.


getSpotAutofocus

public LeicaMakerNoteSupport.SpotAutofocus getSpotAutofocus()
Returns the value of the tag SpotAutofocus.


isMacroModeAvailable

public boolean isMacroModeAvailable()
Returns true if the tag MacroMode is contained in this IFD.


getMacroMode

public int getMacroMode()
Returns the value of the tag MacroMode.


isApertureAvailable

public boolean isApertureAvailable()
Returns true if the tag Aperture is contained in this IFD.


getAperture

public LeicaMakerNoteSupport.Aperture getAperture()
Returns the value of the tag Aperture.


isFlashEVAvailable

public boolean isFlashEVAvailable()
Returns true if the tag FlashEV is contained in this IFD.


getFlashEV

public int getFlashEV()
Returns the value of the tag FlashEV.


isContrastAvailable

public boolean isContrastAvailable()
Returns true if the tag Contrast is contained in this IFD.


getContrast

public LeicaMakerNoteSupport.Contrast getContrast()
Returns the value of the tag Contrast.


isUnknownAvailable

public boolean isUnknownAvailable()
Returns true if the tag Unknown is contained in this IFD.


getUnknown

public int getUnknown()
Returns the value of the tag Unknown.