public static interface AbstractFileSystem.Transfer extends Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID
Deprecated.
Only public by accident.
|
Modifier and Type | Method and Description |
---|---|
boolean |
copy(String name,
AbstractFileSystem.Transfer target,
String targetName)
Copy a file.
|
boolean |
move(String name,
AbstractFileSystem.Transfer target,
String targetName)
Move a file.
|
@Deprecated static final long serialVersionUID
boolean move(String name, AbstractFileSystem.Transfer target, String targetName) throws IOException
name
- of the file on current filesystemtarget
- move implementationtargetName
- of target fileIOException
- if the move failsboolean copy(String name, AbstractFileSystem.Transfer target, String targetName) throws IOException
name
- of the file on current filesystemtarget
- target transfer implementationtargetName
- name of target fileIOException
- if the copy fails