|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDirectory
This interface defines a file system directory.
| Method Summary | |
|---|---|
void |
accept(IDirectoryVisitor visitor)
Visit the current directory. |
void |
create(java.lang.String name)
Create a sub-directory. |
boolean |
isInPath(java.lang.String name)
Test if a given name is in the path of the directory. |
boolean |
isWritable()
Test if directories or files can be created in this directory. |
IDirectory |
select(java.lang.String filename,
IFileBrowserListener listener)
Select a file or sub-directory. |
| Method Detail |
|---|
IDirectory select(java.lang.String filename,
IFileBrowserListener listener)
filename - the item namelistener - the file selection listener
void accept(IDirectoryVisitor visitor)
throws java.io.IOException
visitor - the directory visitor
java.io.IOException - an io exception occuredboolean isWritable()
void create(java.lang.String name)
throws java.io.IOException
name - the sub-directory name
java.io.IOException - an io exception occuredboolean isInPath(java.lang.String name)
name - the name to test
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||