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 failsBuilt on October 25 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.