|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.io.MemoryFolder
The MemoryFolder
represents a folder on the virtual
file system on memory.
Field Summary | |
protected java.util.Vector |
folder_list
The folder hierarchy. |
protected java.util.Hashtable |
hash_folder
The Hashtable object. |
Constructor Summary | |
MemoryFolder(java.util.Hashtable hash_folder,
java.util.Vector folder_list)
Constructs a MemoryFolder . |
Method Summary | |
boolean |
exists()
Returns true if this folder really exists. |
Folder |
getFolder(java.lang.String name)
Gets the sub folder. |
java.util.Hashtable |
getHash()
Gets the Hashtable object. |
java.util.Vector |
getHierarchy()
Gets the folder hierarchy. |
java.lang.String |
getID()
Gets the ID of this folder. |
java.lang.String |
getName()
Gets the name of this folder. |
boolean |
isFolder()
Returns true if this folder is a real folder. |
Folder[] |
list()
Gets the list of sub folders. |
protected java.lang.String |
paramString()
Returns a raw string representation of the state of this object, for debugging use. |
java.lang.String |
toString()
Returns a string representation of the state of this object, for debugging use. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected java.util.Hashtable hash_folder
Hashtable
object.protected java.util.Vector folder_list
Constructor Detail |
public MemoryFolder(java.util.Hashtable hash_folder, java.util.Vector folder_list)
MemoryFolder
.hash_folder
- the Hashtable
object of the
folder.folder_list
- the leading folder hierarchy.Method Detail |
public java.util.Hashtable getHash()
Hashtable
object.Hashtable
object.public java.util.Vector getHierarchy()
public java.lang.String getID()
public java.lang.String getName()
public Folder getFolder(java.lang.String name)
name
- the name of the sub folder.public boolean isFolder()
public boolean exists()
public Folder[] list()
protected java.lang.String paramString()
toString
method of the subclasses.public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |