Project Wonder 5.0

er.attachment.metadata
Class ERParsedMetadataDirectory

java.lang.Object
  extended by er.attachment.metadata.ERParsedMetadataDirectory
All Implemented Interfaces:
IERMetadataDirectory

public class ERParsedMetadataDirectory
extends java.lang.Object
implements IERMetadataDirectory

ERParsedMetadataDirectory represents a metadata directory that has been properly parsed.

Author:
mschrag

Field Summary
 
Fields inherited from interface er.attachment.metadata.IERMetadataDirectory
EXIF, IPTC, JFIF, PDF, TIFF
 
Constructor Summary
ERParsedMetadataDirectory(java.lang.String directoryName)
          Constructs a new parsed metadata directory.
 
Method Summary
 void addMetadataEntry(ERMetadataEntry entry)
          Adds a metadata entry to this directory.
 java.lang.String getDirectoryName()
          Returns the name of this metadata directory (EXIF, IPTC, etc).
 java.util.Iterator<ERMetadataEntry> getMetadataEntries()
          Returns the metadata entries from this directory.
 ERMetadataEntry getMetadataEntryByName(java.lang.String name)
          Returns a metadata entry for the given name.
 ERMetadataEntry getMetadataEntryByType(int type)
          Returns a metadata entry for the given type.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ERParsedMetadataDirectory

public ERParsedMetadataDirectory(java.lang.String directoryName)
Constructs a new parsed metadata directory.

Parameters:
directoryName - the directory name
Method Detail

getDirectoryName

public java.lang.String getDirectoryName()
Returns the name of this metadata directory (EXIF, IPTC, etc).

Specified by:
getDirectoryName in interface IERMetadataDirectory
Returns:
the name of this metadata directory

addMetadataEntry

public void addMetadataEntry(ERMetadataEntry entry)
Adds a metadata entry to this directory.

Parameters:
entry - the entry to add

getMetadataEntryByType

public ERMetadataEntry getMetadataEntryByType(int type)
Returns a metadata entry for the given type.

Parameters:
type - the type to lookup
Returns:
a metadata entry for the given type

getMetadataEntryByName

public ERMetadataEntry getMetadataEntryByName(java.lang.String name)
Returns a metadata entry for the given name.

Parameters:
name - the name to lookup
Returns:
a metadata entry for the given name

getMetadataEntries

public java.util.Iterator<ERMetadataEntry> getMetadataEntries()
Returns the metadata entries from this directory.

Returns:
the metadata entries from this directory

toString

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

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.