|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.io.FileFolder
The FileFolder
represents a directory on the real file
system.
Field Summary | |
protected java.io.File |
file
The File object. |
protected java.util.Vector |
folder_list
The folder hierarchy. |
Constructor Summary | |
FileFolder(java.io.File file,
java.util.Vector folder_list)
Constructs a FileFolder . |
Method Summary | |
boolean |
exists()
Returns true if this folder really exists. |
java.io.File |
getFile()
Gets the File object. |
Folder |
getFolder(java.lang.String name)
Gets the sub folder. |
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.io.File file
File
object.protected java.util.Vector folder_list
Constructor Detail |
public FileFolder(java.io.File file, java.util.Vector folder_list)
FileFolder
.file
- the File
object of the folder.folder_list
- the leading folder hierarchy.Method Detail |
public java.io.File getFile()
File
object.File
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 |