cz.dhl.ftp
Class FtpContext

java.lang.Object
  extended bycz.dhl.ftp.FtpSetting
      extended bycz.dhl.ftp.FtpContext

public class FtpContext
extends FtpSetting

Maintains FTP client settings & context.

Version:
0.72 08/10/2003
Author:
Bea Petrovicova
See Also:
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

getConsole

public CoConsole getConsole()
Gets output console.

See Also:
CoConsole

getTextFilter

public java.lang.String[] getTextFilter()
Sets array of strings representing text-file extensions.

Returns:
array of uppercase strings with a leading '.' sign; example: { ".TXT", ".HTM", ".HTML", etc ... }

printerr

public void printerr(java.lang.Exception exception)
Prints object to standard output.


printlog

public void printlog(java.lang.String message)
Prints message line to output console.


setConsole

public void setConsole(CoConsole console)
Sets output console.

See Also:
CoConsole

setTextFilter

public void setTextFilter(java.lang.String[] textfilter)
Sets array of strings representing text-file extensions.

Parameters:
textfilter - must be array of uppercase strings with a leading '.' sign; example: { ".TXT", ".HTM", ".HTML", etc ... }; default settings is quite flexible


Available from sourceforge http://sourceforge.net/projects/jvftp under the terms of GNU Lesser General Public License (LGPL).