public abstract class BPDefaultClient<TRANSFER extends BPTransfer> extends Object implements BPClient<TRANSFER>
Constructor and Description |
---|
BPDefaultClient() |
Modifier and Type | Method and Description |
---|---|
void |
beginTransfers(TRANSFER transfer) |
boolean |
changeToInitialDirectory() |
void |
deleteTree()
Remove all files and directories from the current directory
|
void |
endTransfers(TRANSFER transfer) |
String |
getAbsoluteRemoteRoot() |
void |
setAbsoluteRemoteRoot(String absoluteRemoteRoot) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeDirectory, disconnect, disconnectQuietly, makeDirectory, transferFile
public String getAbsoluteRemoteRoot()
public void setAbsoluteRemoteRoot(String absoluteRemoteRoot)
setAbsoluteRemoteRoot
in interface BPClient<TRANSFER extends BPTransfer>
public boolean changeToInitialDirectory()
changeToInitialDirectory
in interface BPClient<TRANSFER extends BPTransfer>
public void beginTransfers(TRANSFER transfer)
beginTransfers
in interface BPClient<TRANSFER extends BPTransfer>
public void endTransfers(TRANSFER transfer)
endTransfers
in interface BPClient<TRANSFER extends BPTransfer>
public void deleteTree() throws Exception
BPClient
deleteTree
in interface BPClient<TRANSFER extends BPTransfer>
Exception
Copyright © 2016–2018. All rights reserved.