Serializablepublic static interface AbstractFileSystem.Transfer extends Serializable
| Modifier and Type | Field | Description |
|---|---|---|
static long |
serialVersionUID |
Deprecated.
Only public by accident.
|
| Modifier and Type | Method | 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 failsBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.