Metadata Class Reference

Inherits java::io::Serializable.

Collaboration diagram for Metadata:

Collaboration graph
[legend]

List of all members.

Public Member Functions

boolean containsDirectory (Class type)
Directory getDirectory (Class type)
int getDirectoryCount ()
Iterator getDirectoryIterator ()
 Metadata ()

Private Attributes

final ArrayList directoryList
final HashMap directoryMap


Detailed Description

Result from an exif extraction operation, containing all tags, their values and support for retrieving them.
Author:
Drew Noakes http://drewnoakes.com

Constructor & Destructor Documentation

Metadata (  ) 

Creates a new instance of Metadata. Package private.


Member Function Documentation

boolean containsDirectory ( Class  type  ) 

Indicates whether a given directory type has been created in this metadata repository. Directories are created by calling getDirectory(Class).

Parameters:
type the Directory type
Returns:
true if the metadata directory has been created

Directory getDirectory ( Class  type  ) 

Parameters:
type 
Returns:

int getDirectoryCount (  ) 

Returns a count of unique directories in this metadata collection.

Returns:
the number of unique directory types set for this metadata collection

Iterator getDirectoryIterator (  ) 

Creates an Iterator over the tag types set against this image, preserving the order in which they were set. Should the same tag have been set more than once, it's first position is maintained, even though the final value is used.

Returns:
an Iterator of tag types set for this image


Member Data Documentation

final ArrayList directoryList [private]

List of Directory objects set against this object. Keeping a list handy makes creation of an Iterator and counting tags simple.

final HashMap directoryMap [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:29 2012 for Project Wonder by  doxygen 1.5.8