|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.drew.metadata.Directory
com.drew.metadata.test.MockDirectory
public class MockDirectory
A mock implementation of Directory used in unit testing.
| Field Summary | |
|---|---|
private HashMap |
_tagNameMap
|
| Fields inherited from class com.drew.metadata.Directory |
|---|
_definedTagList, _descriptor, _tagMap |
| Constructor Summary | |
|---|---|
MockDirectory()
|
|
| Method Summary | |
|---|---|
String |
getName()
Provides the name of the directory, for display purposes. |
protected HashMap |
getTagNameMap()
Provides the map of tag names, hashed by tag type identifier. |
| Methods inherited from class com.drew.metadata.Directory |
|---|
addError, containsTag, getBoolean, getByteArray, getDate, getDescription, getDouble, getErrorCount, getErrors, getFloat, getInt, getIntArray, getLong, getObject, getRational, getRationalArray, getString, getStringArray, getTagCount, getTagIterator, getTagName, hasErrors, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setFloat, setInt, setIntArray, setLong, setObject, setObjectArray, setRational, setRationalArray, setString, setStringArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final HashMap _tagNameMap
| Constructor Detail |
|---|
public MockDirectory()
| Method Detail |
|---|
public String getName()
DirectoryExif
getName in class Directoryprotected HashMap getTagNameMap()
Directory
getTagNameMap in class Directory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||