public class FtpContext extends FtpSetting
Ftp
Modifier and Type | Field and Description |
---|---|
private CoConsole |
console |
private String[] |
textfilter |
LIST, NAME_LIST, NAME_LIST_LS_F, NAME_LIST_LS_LA, NAME_LIST_LS_P, UNIX, WIN
Constructor and Description |
---|
FtpContext() |
Modifier and Type | Method and Description |
---|---|
CoConsole |
getConsole()
Gets output console.
|
String[] |
getTextFilter()
Sets array of strings representing text-file extensions.
|
void |
printerr(Exception exception)
Prints object to standard output.
|
void |
printlog(String message)
Prints message line to output console.
|
void |
setConsole(CoConsole console)
Sets output console.
|
void |
setTextFilter(String[] textfilter)
Sets array of strings representing text-file extensions.
|
getActiveSocketMode, getFileTransferMode, getListCommandMode, getSecureSocketMode, getServerSystemMode, setActiveSocketMode, setFileTransferMode, setListCommandMode, setSecureSocketMode, setServerSystemMode
private String[] textfilter
FtpContext()
public void setTextFilter(String[] textfilter)
textfilter
- must be array of uppercase strings with a leading '.' sign;
example: { ".TXT", ".HTM", ".HTML", etc ... };
default settings is quite flexiblepublic String[] getTextFilter()
public void setConsole(CoConsole console)
CoConsole
public CoConsole getConsole()
CoConsole
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses