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

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

public class ExifTIFF
extends java.lang.Object

Author:
Mario De Weerd Reading and writing the relevant EXIF data should not be too complicated. Strategy is to read the header and the EXIF data. Reading first 64kB + SOI size bytes is sufficient. EXIF data must be stored in a manner that allows reconstruction later. Writing Exif data consists in replacing the APP1 Block and updating the SOI Marker. Specification at http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf

Constructor Summary
ExifTIFF()
           
 
Method Summary
 boolean copyTo(BT747Path path)
           
 ExifAttribute getExifAttribute(int tag)
           
 ExifAttribute getGpsAttribute(int tag)
           
 void setExifAttribute(ExifAttribute atr)
           
 void setGpsAttribute(ExifAttribute atr)
           
 void setGpsPosition(double lat, double lon)
           
 boolean setPath(BT747Path p)
           
 void setUsedSoftWare()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExifTIFF

public ExifTIFF()
Method Detail

setPath

public final boolean setPath(BT747Path p)

getExifAttribute

public final ExifAttribute getExifAttribute(int tag)

getGpsAttribute

public final ExifAttribute getGpsAttribute(int tag)

setExifAttribute

public final void setExifAttribute(ExifAttribute atr)

setGpsAttribute

public final void setGpsAttribute(ExifAttribute atr)

setGpsPosition

public final void setGpsPosition(double lat,
                                 double lon)

setUsedSoftWare

public final void setUsedSoftWare()

copyTo

public final boolean copyTo(BT747Path path)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object