com.starobject.mediasort.attributes
Class JpegAttributeParser

java.lang.Object
  extended by com.starobject.mediasort.attributes.AttributeParser
      extended by com.starobject.mediasort.attributes.JpegAttributeParser

public class JpegAttributeParser
extends AttributeParser

Parses Jpeg related attributes (Exif, Iptc, GPS ...)
Parsing is based on metadata-extractor libray http://www.drewnoakes.com/code/exif/


Field Summary
 
Fields inherited from class com.starobject.mediasort.attributes.AttributeParser
file
 
Constructor Summary
JpegAttributeParser()
           
 
Method Summary
 java.util.Map parse(java.io.File file)
          Parses the file for attributes and returns (name,value) pairs in the Map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpegAttributeParser

public JpegAttributeParser()
Method Detail

parse

public java.util.Map parse(java.io.File file)
                    throws ParserException
Description copied from class: AttributeParser
Parses the file for attributes and returns (name,value) pairs in the Map

Specified by:
parse in class AttributeParser
Returns:
name and values of attributes
Throws:
ParserException