public class FTPRemoteFileLister extends AbstractRemoteFileLister<FTPRemoteFile>
socksProxyHost
and socksProxyPort (Jakarta's commons-net which is used for FTP
uses sockets). See
http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html for proxy details.
This class depends on Jakarta's commons-net library (which depends on jakarta-oro).
| Constructor and Description |
|---|
FTPRemoteFileLister() |
FTPRemoteFileLister(String inFilePath) |
FTPRemoteFileLister(String inFilePath,
List<RemoteFileFilter> inFilterList) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearRemoteFileList() |
org.apache.commons.net.ftp.FTPClient |
getFTPClient() |
String |
getProtocol() |
String |
getProxyHost() |
String |
getProxyPassword() |
Integer |
getProxyPort() |
String |
getProxyUser() |
protected List<FTPRemoteFile> |
getUnfilteredRemoteFileListImpl() |
void |
logout() |
void |
setFilePath(String inFilePath) |
FTPRemoteFileLister |
setProxyHost(String inValue) |
FTPRemoteFileLister |
setProxyPassword(String inValue) |
FTPRemoteFileLister |
setProxyPort(int inValue) |
FTPRemoteFileLister |
setProxyUser(String inValue) |
addFilter, getFilePath, getFilteredRemoteFileList, getFilteredRemoteFileList, getFilterList, getReturnOnlyMostRecentFile, getUnfilteredRemoteFileList, setCredentials, setFilterList, setReturnOnlyMostRecentFilepublic FTPRemoteFileLister()
public FTPRemoteFileLister(String inFilePath)
public FTPRemoteFileLister(String inFilePath, List<RemoteFileFilter> inFilterList)
public String getProtocol()
getProtocol in interface RemoteFileListergetProtocol in class AbstractRemoteFileLister<FTPRemoteFile>public void setFilePath(String inFilePath)
setFilePath in interface RemoteFileListersetFilePath in class AbstractRemoteFileLister<FTPRemoteFile>public org.apache.commons.net.ftp.FTPClient getFTPClient()
public void clearRemoteFileList()
clearRemoteFileList in class AbstractRemoteFileLister<FTPRemoteFile>public void logout() throws IOException
IOExceptionpublic FTPRemoteFileLister setProxyHost(String inValue)
public String getProxyHost()
public FTPRemoteFileLister setProxyPort(int inValue)
public Integer getProxyPort()
public FTPRemoteFileLister setProxyUser(String inValue)
public String getProxyUser()
public FTPRemoteFileLister setProxyPassword(String inValue)
public String getProxyPassword()
protected List<FTPRemoteFile> getUnfilteredRemoteFileListImpl()
getUnfilteredRemoteFileListImpl in class AbstractRemoteFileLister<FTPRemoteFile>
jataylor@hairyfatguy.com