public final class Metadata
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Metadata()
Creates a new instance of Metadata.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsDirectory(java.lang.Class type)
Indicates whether a given directory type has been created in this metadata
repository.
|
Directory |
getDirectory(java.lang.Class type)
Returns a
Directory of specified type. |
int |
getDirectoryCount()
Returns a count of unique directories in this metadata collection.
|
java.util.Iterator |
getDirectoryIterator()
Creates an Iterator over the tag types set against this image, preserving the order
in which they were set.
|
public java.util.Iterator getDirectoryIterator()
public int getDirectoryCount()
public Directory getDirectory(java.lang.Class type)
Directory
of specified type. If this Metadata
object already contains
such a directory, it is returned. Otherwise a new instance of this directory will be created and stored within
this Metadata object.type
- the type of the Directory implementation required.public boolean containsDirectory(java.lang.Class type)
type
- the Directory typeCopyright © 2006 Drew Noakes. All Rights Reserved.