magoffin.matt.meta.image.camera
Class Canon

java.lang.Object
  extended by magoffin.matt.meta.support.AbstractMetadataResource
      extended by magoffin.matt.meta.support.AbstractEnumMetadataResource<ImageMetadataType>
          extended by magoffin.matt.meta.image.EXIFJpegMetadataResource
              extended by magoffin.matt.meta.image.camera.Canon
All Implemented Interfaces:
MetadataResource
Direct Known Subclasses:
Canon20D, CanonG5

public class Canon
extends EXIFJpegMetadataResource

A Canon-specific, generic model, implementation of EXIFJpegMetadataResource.

Version:
$Revision: 3 $ $Date: 2008-12-27 08:09:28 +1300 (Sat, 27 Dec 2008) $
Author:
Matt Magoffin (spamsqr@msqr.us)

Field Summary
 
Fields inherited from class magoffin.matt.meta.image.EXIFJpegMetadataResource
EXIF_BASIC_DATE_FORMAT
 
Fields inherited from class magoffin.matt.meta.support.AbstractMetadataResource
log
 
Constructor Summary
Canon(java.io.InputStream in)
          Construct from an InputStream.
Canon(com.drew.metadata.Metadata exif)
          Construct from an existing EXIF Metadata instance.
 
Method Summary
 
Methods inherited from class magoffin.matt.meta.image.EXIFJpegMetadataResource
extractAperture, extractCameraMake, extractCameraModel, extractCreationDate, extractExposureBias, extractExposureTime, extractFlash, extractFocalLength, extractFocalLength35mmEquiv, extractFstop, extractGpsLatitude, extractGpsLongitude, extractOrientation, extractShutterSpeed, getExifInt, getExifRational, getExifString, getFocalLength35mmEquivFactor, getMetaInt, getMetaRational, getMetaString, parseExif, roundDecimal
 
Methods inherited from class magoffin.matt.meta.support.AbstractEnumMetadataResource
addError, addValue, getValue, getValues, setValue, setValues
 
Methods inherited from class magoffin.matt.meta.support.AbstractMetadataResource
addError, addValue, clearValues, getParsedKeys, getParseErrors, getValue, getValueList, getValues, setValue, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface magoffin.matt.meta.MetadataResource
getParsedKeys, getParseErrors, getValue, getValues
 

Constructor Detail

Canon

public Canon(java.io.InputStream in)
Construct from an InputStream.

Parameters:
in - the JPEG input stream

Canon

public Canon(com.drew.metadata.Metadata exif)
Construct from an existing EXIF Metadata instance.

Parameters:
exif - the EXIF metadata