java.lang.Object cz.dhl.ftp.FtpSetting cz.dhl.ftp.FtpContext
Maintains FTP client settings & context.
Ftp
Field Summary |
Fields inherited from class cz.dhl.ftp.FtpSetting |
LIST, NAME_LIST, NAME_LIST_LS_F, NAME_LIST_LS_LA, NAME_LIST_LS_P |
Method Summary | |
CoConsole |
getConsole()
Gets output console. |
java.lang.String[] |
getTextFilter()
Sets array of strings representing text-file extensions. |
void |
printerr(java.lang.Exception exception)
Prints object to standard output. |
void |
printlog(java.lang.String message)
Prints message line to output console. |
void |
setConsole(CoConsole console)
Sets output console. |
void |
setTextFilter(java.lang.String[] textfilter)
Sets array of strings representing text-file extensions. |
Methods inherited from class cz.dhl.ftp.FtpSetting |
getActiveSocketMode, getFileTransferMode, getListCommandMode, setActiveSocketMode, setFileTransferMode, setListCommandMode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public CoConsole getConsole()
CoConsole
public java.lang.String[] getTextFilter()
public void printerr(java.lang.Exception exception)
public void printlog(java.lang.String message)
public void setConsole(CoConsole console)
CoConsole
public void setTextFilter(java.lang.String[] textfilter)
textfilter
- must be array of uppercase strings with a leading '.' sign;
example: { ".TXT", ".HTM", ".HTML", etc ... };
default settings is quite flexible