public class SymlinkFileTransfer extends AbstractExecFileTransfer
AbstractFileTransfer.Transfers
log
Constructor and Description |
---|
SymlinkFileTransfer() |
Modifier and Type | Method and Description |
---|---|
void |
afterTransfer(int errors,
List<String> srcFiles)
No cleanup is needed for soft-linking.
|
protected ProcessBuilder |
createProcessBuilder(File file,
File location)
Executes "ln -s file location" (Unix) or "mklink location file" (Windows)
and fails on non-0 return codes.
|
checkLocation, checkTarget, exec, failLocationCheck, getLocalLocation, printLine, transfer
cleanupUpload, createTransfer, deleteTransferredFiles, finish, isWindows, start
protected ProcessBuilder createProcessBuilder(File file, File location)
createProcessBuilder
in class AbstractExecFileTransfer
file
- File to be copied.location
- Location to copy to.IOException
Version: 5.3.5-ice35-b73
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.