| java.lang.Object com.enterprisedt.net.ftp.test.FileTransferClientAdapter
FileTransferClientAdapter | public class FileTransferClientAdapter implements FTPClientInterface,EventListener(Code) | | Adapts the FileTransferClient for use in the standard unit
tests
author: Bruce Blackshaw version: $Revision: 1.2 $ |
Method Summary | |
public void | bytesTransferred(long count) | public void | cancelResume() | public void | cancelTransfer() | public void | cdup() | public void | chdir(String dir) | public void | commandSent(String cmd) | public void | connect() | public boolean | connected() | public void | delete(String remoteFile) | public String[] | dir() | public String[] | dir(String dirname) | public String[] | dir(String dirname, boolean full) | public FTPFile[] | dirDetails(String dirname) | public void | downloadCompleted(String remoteFilename) | public void | downloadStarted(String remoteFilename) | public boolean | exists(String remoteFile) | public void | get(String localPath, String remoteFile) | public void | get(OutputStream destStream, String remoteFile) | public byte[] | get(String remoteFile) | public int | getDeleteCount() | public boolean | getDetectTransferMode() | public int | getDownloadCount() | public String | getId() | public long | getMonitorInterval() | public String | getRemoteHost() | public int | getRemotePort() | public int | getTimeout() | public FTPTransferType | getType() | public int | getUploadCount() | public void | keepAlive() | public void | mkdir(String dir) | public Date | modtime(String remoteFile) | public String | put(String localPath, String remoteFile) | public String | put(InputStream srcStream, String remoteFile) | public String | put(InputStream srcStream, String remoteFile, boolean append) | public String | put(byte[] bytes, String remoteFile) | public String | put(byte[] bytes, String remoteFile, boolean append) | public String | put(String localPath, String remoteFile, boolean append) | public String | pwd() | public void | quit() | public void | quitImmediately() | public void | rename(String from, String to) | public void | replyReceived(String reply) | public void | resetDeleteCount() | public void | resetDownloadCount() | public void | resetUploadCount() | public void | resume() | public void | rmdir(String dir) | public void | setDetectTransferMode(boolean detectTransferMode) | public void | setId(String id) | public void | setProgressMonitor(FTPProgressMonitor monitor, long interval) | public void | setProgressMonitor(FTPProgressMonitor monitor) | public void | setRemoteHost(String remoteHost) | public void | setRemotePort(int remotePort) | public void | setTimeout(int timeout) | public void | setType(FTPTransferType type) | public long | size(String remoteFile) | public void | uploadCompleted(String remoteFilename) | public void | uploadStarted(String remoteFilename) |
FileTransferClientAdapter | public FileTransferClientAdapter(FileTransferClient client)(Code) | | Constructor
Parameters: client - |
bytesTransferred | public void bytesTransferred(long count)(Code) | | |
cancelTransfer | public void cancelTransfer()(Code) | | |
connected | public boolean connected()(Code) | | |
downloadCompleted | public void downloadCompleted(String remoteFilename)(Code) | | |
downloadStarted | public void downloadStarted(String remoteFilename)(Code) | | |
getDeleteCount | public int getDeleteCount()(Code) | | |
getDetectTransferMode | public boolean getDetectTransferMode()(Code) | | |
getDownloadCount | public int getDownloadCount()(Code) | | |
getMonitorInterval | public long getMonitorInterval()(Code) | | |
getRemotePort | public int getRemotePort()(Code) | | |
getTimeout | public int getTimeout()(Code) | | |
getUploadCount | public int getUploadCount()(Code) | | |
resetDeleteCount | public void resetDeleteCount()(Code) | | |
resetDownloadCount | public void resetDownloadCount()(Code) | | |
resetUploadCount | public void resetUploadCount()(Code) | | |
setDetectTransferMode | public void setDetectTransferMode(boolean detectTransferMode)(Code) | | |
uploadCompleted | public void uploadCompleted(String remoteFilename)(Code) | | |
uploadStarted | public void uploadStarted(String remoteFilename)(Code) | | |
|
|