|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.fs.FSQuery
public final class FSQuery
This class simulates some file system operations.
| Constructor Summary | |
|---|---|
FSQuery(Data d)
Simplified Constructor. |
|
| Method Summary | |
|---|---|
void |
du(java.lang.String path,
PrintOutput out)
Performs a du command. |
void |
ls(java.lang.String path,
PrintOutput out)
Performs an ls command. |
void |
pwd(PrintOutput out)
The current working directory as set by the cd command. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FSQuery(Data d)
d - data reference| Method Detail |
|---|
public void du(java.lang.String path,
PrintOutput out)
throws java.io.IOException
path - directory pathout - output stream
java.io.IOException - in case of problems with the PrintOutput
public void ls(java.lang.String path,
PrintOutput out)
throws java.io.IOException
path - directory pathout - output stream
java.io.IOException - in case of problems with the PrintOutput
public void pwd(PrintOutput out)
throws java.io.IOException
out - output stream
java.io.IOException - in case of problems with the PrintOutput
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||