| 
DLESE Tools  v1.6.0  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.repository.DirInfo
public class DirInfo
Data structure that holds information about a directory of metadata files. Includes the directory name and the metadata format for the files in that directory.
SetInfo, 
Serialized Form| Constructor Summary | |
|---|---|
DirInfo()
Constructor for the DirInfo object  | 
|
DirInfo(String dir,
        String format)
Constructor for the DirInfo object  | 
|
| Method Summary | |
|---|---|
 boolean | 
equals(Object o)
Checks equality of two DirInfo objects.  | 
 Object | 
getAttribute(String key)
Gets an attribute Object from this DirInfo.  | 
 String | 
getDirectory()
Gets the dir attribute of the DirInfo object  | 
 String | 
getFormat()
Gets the format attribute of the DirInfo object  | 
 boolean | 
hasDirectory(File directory)
Determines whether this directory is the same as the given directory.  | 
 void | 
setAttribute(String key,
             Object attribute)
Sets an attribute Object that will be available for access using the given key.  | 
 void | 
setDirectory(String val)
Sets the dir attribute of the DirInfo object  | 
 void | 
setFormat(String val)
Sets the format attribute of the DirInfo object  | 
 String | 
toString()
Provides a String representataion for this DirInfo.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public DirInfo()
public DirInfo(String dir,
               String format)
dir - The direcotory pathformat - The metadata format for the files in the directory| Method Detail | 
|---|
public String getDirectory()
public void setDirectory(String val)
val - The new dir valuepublic boolean hasDirectory(File directory)
directory - A directory
public String getFormat()
public void setFormat(String val)
val - The new format value
public void setAttribute(String key,
                         Object attribute)
key - The key used to reference the attribute.attribute - Any Java Object that is Serializable.public Object getAttribute(String key)
key - The key used to reference the attribute.
public String toString()
equals(Object) method.
toString in class Objectpublic boolean equals(Object o)
equals in class Objecto - The DirInfo to compare to this
  | 
DLESE Tools  v1.6.0  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||