|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.edg.data.reptor.storage.FileCopier
FileCopier abstracts out the various ways we can implement copy functionality between two FileHandles.
Method Summary | |
static FileInfo |
copy(Configuration config,
FileHandle source,
FileHandle dest,
java.lang.String protocol,
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 FileInfo copy(Configuration config, FileHandle source, FileHandle dest, java.lang.String protocol, int nstreams) throws FileCopierException, 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.
FileHandleException
- if there is a problem with the source or
destination file handle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |