|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Controls on moving of files. This is additional interface to allow filesystem that require special handling of move to implement it in different way then is the default one.
Field Summary | |
static long |
serialVersionUID
Deprecated. Only public by accident. |
Method Summary | |
boolean |
copy(String name,
AbstractFileSystem.Transfer target,
String targetName)
Copy a file. |
boolean |
move(String name,
AbstractFileSystem.Transfer target,
String targetName)
Move a file. |
Field Detail |
public static final long serialVersionUID
Method Detail |
public boolean move(String name, AbstractFileSystem.Transfer target, String targetName) throws IOException
name
- of the file on current filesystemtarget
- move implementationtargetName
- of target file
IOException
- if the move failspublic boolean copy(String name, AbstractFileSystem.Transfer target, String targetName) throws IOException
name
- of the file on current filesystemtarget
- target transfer implementationtargetName
- name of target file
IOException
- if the copy fails
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |