|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindtree.techworks.insight.download.RemoteClient
com.mindtree.techworks.insight.download.FTPRemoteClient
public class FTPRemoteClient
TODO
RemoteClientFactory,
RemoteClient| Field Summary | |
|---|---|
static java.net.PasswordAuthentication |
anonPassAuth
Password Authentication to use for anonymous access |
| Fields inherited from class com.mindtree.techworks.insight.download.RemoteClient |
|---|
baseDownloadDirectory, insight, isBusy, statusBar |
| Constructor Summary | |
|---|---|
FTPRemoteClient()
|
|
| Method Summary | |
|---|---|
protected void |
closeConnection()
This method is to be called at the end of a transaction to complete any clean up operations on the connections, etc. |
protected java.lang.String[] |
downloadFile(java.lang.String fileName)
Downloads a single file to the default download directory, and returns the complete pathof the file. |
protected void |
setFileset(Fileset fileset)
Sets the fileset. |
| Methods inherited from class com.mindtree.techworks.insight.download.RemoteClient |
|---|
downloadFile, downloadFiles, getDestinationFile, setBaseDownloadDirectory, setInsight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.net.PasswordAuthentication anonPassAuth
| Constructor Detail |
|---|
public FTPRemoteClient()
| Method Detail |
|---|
protected void setFileset(Fileset fileset)
throws RemoteClientException
RemoteClient
setFileset in class RemoteClientfileset - The fileset being set
RemoteClientException - If the information is not correct or the
client is incompatible for the fileset.RemoteClient.setFileset(com.mindtree.techworks.insight.download.Fileset)
protected java.lang.String[] downloadFile(java.lang.String fileName)
throws RemoteClientException
RemoteClientcomplete pathof the file.
downloadFile in class RemoteClientfileName - The file path and name on the remote system to download.
The actual format is client dependent.
RemoteClientException - If the download fails.RemoteClient.downloadFile(java.lang.String)
protected void closeConnection()
throws RemoteClientException
RemoteClient
closeConnection in class RemoteClientRemoteClientException - If there is any exception during the
cleanup.RemoteClient.closeConnection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||