List of usage examples for org.apache.commons.net ProtocolCommandSupport ProtocolCommandSupport
public ProtocolCommandSupport(Object source)
From source file:com.atomicleopard.thundr.ftp.commons.FTP.java
/*** * The default FTP constructor. Sets the default port to * <code>DEFAULT_PORT</code> and initializes internal data structures * for saving FTP reply information./*from ww w . j a v a2 s. c o m*/ ***/ public FTP() { super(); setDefaultPort(DEFAULT_PORT); _replyLines = new ArrayList<String>(); _newReplyString = false; _replyString = null; _controlEncoding = DEFAULT_CONTROL_ENCODING; _commandSupport_ = new ProtocolCommandSupport(this); }
From source file:com.atomicleopard.thundr.ftp.commons.SocketClient.java
/** * Create the CommandSupport instance if required *///from w w w. j a va 2 s . c o m protected void createCommandSupport() { __commandSupport = new ProtocolCommandSupport(this); }
From source file:org.random_access.newsreader.nntp.CustomNNTP.java
public CustomNNTP() { this.setDefaultPort(119); this._replyString = null; this._reader_ = null; this._writer_ = null; this._isAllowedToPost = false; this._commandSupport_ = new ProtocolCommandSupport(this); }