com.drew.metadata
public final class Metadata extends Object implements Serializable
| Constructor Summary | |
|---|---|
| Metadata()
Creates a new instance of Metadata. | |
| Method Summary | |
|---|---|
| boolean | containsDirectory(Class type)
Indicates whether a given directory type has been created in this metadata
repository. |
| Directory | getDirectory(Class type)
Returns a Directory of specified type. |
| int | getDirectoryCount()
Returns a count of unique directories in this metadata collection. |
| Iterator | getDirectoryIterator()
Creates an Iterator over the tag types set against this image, preserving the order
in which they were set. |
Parameters: type the Directory type
Returns: true if the metadata directory has been created
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.Parameters: type the type of the Directory implementation required.
Returns: a directory of the specified type.
Returns: the number of unique directory types set for this metadata collection
Returns: an Iterator of tag types set for this image