java.io.Serializablepublic static interface AbstractFileSystem.Transfer
extends java.io.Serializable
| Modifier and Type | Field | Description |
|---|---|---|
static long |
serialVersionUID |
Deprecated.
Only public by accident.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
copy(java.lang.String name,
AbstractFileSystem.Transfer target,
java.lang.String targetName) |
Copy a file.
|
boolean |
move(java.lang.String name,
AbstractFileSystem.Transfer target,
java.lang.String targetName) |
Move a file.
|
@Deprecated static final long serialVersionUID
boolean move(java.lang.String name,
AbstractFileSystem.Transfer target,
java.lang.String targetName)
throws java.io.IOException
name - of the file on current filesystemtarget - move implementationtargetName - of target filejava.io.IOException - if the move failsboolean copy(java.lang.String name,
AbstractFileSystem.Transfer target,
java.lang.String targetName)
throws java.io.IOException
name - of the file on current filesystemtarget - target transfer implementationtargetName - name of target filejava.io.IOException - if the copy failsBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.