|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.data.reptor.storage.FileCopier
FileCopier abstracts out the various ways we can implement copy functionality between two FileHandles.
Method Summary | |
static void |
copy(Configuration config,
FileHandle source,
FileHandle dest,
int prot,
int nstreams)
Static copy method: copy source to destination. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void copy(Configuration config, FileHandle source, FileHandle dest, int prot, int nstreams) throws FileCopierException, InvalidFileNameException, FileHandleException
source
- The source file handle.dest
- The destination file handle.nstreams
- The number of streams(unimplemented.)
FileCopierException
- If the copy fails because: the URIs
of the input file handles are invalid, the copy fails for some
reason or the user is not authorized.
InvalidFileNameException
FileHandleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |