|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpalmed.file.Root
public final class Root
This class implements the root of all file systems roots.
| Constructor Summary | |
|---|---|
Root()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Root()
| Method Detail |
|---|
public IDirectory select(java.lang.String filename,
IFileBrowserListener listener)
select in interface IDirectoryfilename - the item namelistener - the file selection listener
public void accept(IDirectoryVisitor visitor)
accept in interface IDirectoryvisitor - the directory visitorpublic boolean isWritable()
isWritable in interface IDirectory
public void create(java.lang.String name)
throws java.io.IOException
create in interface IDirectoryname - the sub-directory name
java.io.IOException - an io exception occuredpublic boolean isInPath(java.lang.String name)
isInPath in interface IDirectoryname - the name to test
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||