|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.nutch.fs.TestClient
This class provides some NDFS administrative access.
Constructor Summary | |
TestClient(NutchFileSystem nfs)
|
Method Summary | |
void |
copy(String srcf,
String dstf)
Copy an NDFS file |
void |
delete(String srcf)
Delete an NDFS file |
void |
du(String src)
|
void |
ls(String src)
Get a listing of all files in NDFS at the indicated name |
static void |
main(String[] argv)
main() has some simple utility methods |
void |
mkdir(String src)
Create the given dir |
void |
rename(String srcf,
String dstf)
Rename an NDFS file |
void |
report()
Gives a report on how the NutchFileSystem is doing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestClient(NutchFileSystem nfs)
Method Detail |
public void ls(String src) throws IOException
IOException
public void du(String src) throws IOException
IOException
public void mkdir(String src) throws IOException
IOException
public void rename(String srcf, String dstf) throws IOException
IOException
public void copy(String srcf, String dstf) throws IOException
IOException
public void delete(String srcf) throws IOException
IOException
public void report() throws IOException
IOException
public static void main(String[] argv) throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |