|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deepfs.DeepShell
public final class DeepShell
Rudimentary shell to interact with a file hierarchy stored in XML.
| Nested Class Summary | |
|---|---|
static interface |
DeepShell.Command
Shell command description. |
| Method Summary | |
|---|---|
void |
help(String[] args)
Prints short help message for available commands. |
void |
info(String[] args)
Prints stat information of file to stdout. |
void |
list(String[] args)
Prints stat information of file to stdout. |
static void |
main(String[] args)
A file hierarchy stored as XML. |
void |
mkdir(String[] args)
Makes new directory. |
void |
quit(String[] args)
Leaves the shell. |
void |
rmdir(String[] args)
Removes existing directory. |
void |
serialize(String[] args)
Serializes the FS instance. |
void |
stat(String[] args)
Prints stat information of file to stdout. |
void |
touch(String[] args)
Creates a file if it doesn't exist yet. |
void |
tree(String[] args)
Creates a file if it doesn't exist yet. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void mkdir(String[] args)
args - argument vectorpublic void rmdir(String[] args)
args - argument vectorpublic void touch(String[] args)
args - argument vectorpublic void stat(String[] args)
args - argument vectorpublic void tree(String[] args)
args - argument vectorpublic void list(String[] args)
args - argument vectorpublic void info(String[] args)
args - argument vectorpublic void help(String[] args)
args - argument vectorpublic void quit(String[] args)
args - argument vector (currently not used)public void serialize(String[] args)
args - argument vector (currently not used)public static void main(String[] args)
args - command-line arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||