net.sf.bt747.j2se.app.exif
Class OlympusMakerNotesDecorator

java.lang.Object
  extended by net.sf.bt747.j2se.app.exif.ExifAttribute
      extended by net.sf.bt747.j2se.app.exif.OlympusMakerNotesDecorator

public class OlympusMakerNotesDecorator
extends ExifAttribute

This decorator is simplified and supposes the value keeps constant size. This is intended to adjust the offsets regarding the new position of the makernotes. This Decorator is currently not of much use. Converting the offsets can not be done in this context.

Author:
Mario De Weerd

Method Summary
static ExifAttribute decorate(ExifAttribute makerNote, byte[] buffer, int tiffHeaderStart, boolean bigEndian)
          Decorate the Attribute only if needed.
 
Methods inherited from class net.sf.bt747.j2se.app.exif.ExifAttribute
fillBuffer, getCount, getFloatValue, getIntValue, getPayloadSize, getStringValue, getTag, getType, getValue, getValueIdx, getValueUnitSize, read, setCount, setFloatValue, setGpsFloatValue, setIntValue, setStringValue, setTag, setType, setValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

decorate

public static final ExifAttribute decorate(ExifAttribute makerNote,
                                           byte[] buffer,
                                           int tiffHeaderStart,
                                           boolean bigEndian)
Decorate the Attribute only if needed. (See Decorator pattern of Design Patterns).

Parameters:
makerNote -
buffer -
tiffHeaderStart -
bigEndian -
Returns:
Decorated attribute.