META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/apache/commons/
org/apache/commons/net/
org/apache/commons/net/nntp/
org/apache/commons/net/util/
org/apache/commons/net/pop3/
org/apache/commons/net/ftp/
org/apache/commons/net/ftp/parser/
org/apache/commons/net/telnet/
org/apache/commons/net/ntp/
org/apache/commons/net/bsd/
org/apache/commons/net/smtp/
org/apache/commons/net/io/
org/apache/commons/net/tftp/
org/apache/commons/net/nntp/NNTPReply.classNNTPReply.java
package org.apache.commons.net.nntp
public final org.apache.commons.net.nntp.NNTPReply extends java.lang.Object {
public static final int CODE_100
public static final int CODE_199
public static final int CODE_200
public static final int CODE_201
public static final int CODE_202
public static final int CODE_205
public static final int CODE_211
public static final int CODE_215
public static final int CODE_220
public static final int CODE_221
public static final int CODE_222
public static final int CODE_223
public static final int CODE_230
public static final int CODE_231
public static final int CODE_235
public static final int CODE_240
public static final int CODE_281
public static final int CODE_335
public static final int CODE_340
public static final int CODE_381
public static final int CODE_400
public static final int CODE_408
public static final int CODE_411
public static final int CODE_412
public static final int CODE_420
public static final int CODE_421
public static final int CODE_422
public static final int CODE_423
public static final int CODE_430
public static final int CODE_435
public static final int CODE_436
public static final int CODE_437
public static final int CODE_440
public static final int CODE_441
public static final int CODE_482
public static final int CODE_500
public static final int CODE_501
public static final int CODE_502
public static final int CODE_503
public static final int HELP_TEXT_FOLLOWS
public static final int DEBUG_OUTPUT
public static final int SERVER_READY_POSTING_ALLOWED
public static final int SERVER_READY_POSTING_NOT_ALLOWED
public static final int SLAVE_STATUS_NOTED
public static final int CLOSING_CONNECTION
public static final int GROUP_SELECTED
public static final int ARTICLE_RETRIEVED_HEAD_AND_BODY_FOLLOW
public static final int ARTICLE_RETRIEVED_HEAD_FOLLOWS
public static final int ARTICLE_RETRIEVED_BODY_FOLLOWS
public static final int ARTICLE_RETRIEVED_REQUEST_TEXT_SEPARATELY
public static final int ARTICLE_LIST_BY_MESSAGE_ID_FOLLOWS
public static final int NEW_NEWSGROUP_LIST_FOLLOWS
public static final int ARTICLE_TRANSFERRED_OK
public static final int ARTICLE_POSTED_OK
public static final int AUTHENTICATION_ACCEPTED
public static final int SEND_ARTICLE_TO_TRANSFER
public static final int SEND_ARTICLE_TO_POST
public static final int MORE_AUTH_INFO_REQUIRED
public static final int SERVICE_DISCONTINUED
public static final int NO_SUCH_NEWSGROUP
public static final int AUTHENTICATION_REQUIRED
public static final int NO_NEWSGROUP_SELECTED
public static final int NO_CURRENT_ARTICLE_SELECTED
public static final int NO_NEXT_ARTICLE
public static final int NO_PREVIOUS_ARTICLE
public static final int NO_SUCH_ARTICLE_NUMBER
public static final int NO_SUCH_ARTICLE_FOUND
public static final int ARTICLE_NOT_WANTED
public static final int TRANSFER_FAILED
public static final int ARTICLE_REJECTED
public static final int POSTING_NOT_ALLOWED
public static final int POSTING_FAILED
public static final int AUTHENTICATION_REJECTED
public static final int COMMAND_NOT_RECOGNIZED
public static final int COMMAND_SYNTAX_ERROR
public static final int PERMISSION_DENIED
public static final int PROGRAM_FAULT
private void ()
public static boolean isInformational (int)
int reply
public static boolean isPositiveCompletion (int)
int reply
public static boolean isPositiveIntermediate (int)
int reply
public static boolean isNegativeTransient (int)
int reply
public static boolean isNegativePermanent (int)
int reply
}
org/apache/commons/net/nntp/NNTP.classNNTP.java
package org.apache.commons.net.nntp
public org.apache.commons.net.nntp.NNTP extends org.apache.commons.net.SocketClient {
public static final int DEFAULT_PORT
private static final String __DEFAULT_ENCODING
private StringBuffer __commandBuffer
boolean _isAllowedToPost
int _replyCode
String _replyString
protected java.io.BufferedReader _reader_
protected java.io.BufferedWriter _writer_
protected org.apache.commons.net.ProtocolCommandSupport _commandSupport_
public void ()
private void __getReply () throws java.io.IOException
NumberFormatException e
protected void _connectAction_ () throws java.io.IOException
public void addProtocolCommandListener (org.apache.commons.net.ProtocolCommandListener)
org.apache.commons.net.ProtocolCommandListener listener
public void removeProtocolCommandListener (org.apache.commons.net.ProtocolCommandListener)
org.apache.commons.net.ProtocolCommandListener listener
public void disconnect () throws java.io.IOException
public boolean isAllowedToPost ()
public int sendCommand (java.lang.String, java.lang.String) throws java.io.IOException
String command
String args
String message
public int sendCommand (int, java.lang.String) throws java.io.IOException
int command
String args
public int sendCommand (java.lang.String) throws java.io.IOException
String command
public int sendCommand (int) throws java.io.IOException
int command
public int getReplyCode ()
public int getReply () throws java.io.IOException
public java.lang.String getReplyString ()
public int article (java.lang.String) throws java.io.IOException
String messageId
public int article (int) throws java.io.IOException
int articleNumber
public int article () throws java.io.IOException
public int body (java.lang.String) throws java.io.IOException
String messageId
public int body (int) throws java.io.IOException
int articleNumber
public int body () throws java.io.IOException
public int head (java.lang.String) throws java.io.IOException
String messageId
public int head (int) throws java.io.IOException
int articleNumber
public int head () throws java.io.IOException
public int stat (java.lang.String) throws java.io.IOException
String messageId
public int stat (int) throws java.io.IOException
int articleNumber
public int stat () throws java.io.IOException
public int group (java.lang.String) throws java.io.IOException
String newsgroup
public int help () throws java.io.IOException
public int ihave (java.lang.String) throws java.io.IOException
String messageId
public int last () throws java.io.IOException
public int list () throws java.io.IOException
public int next () throws java.io.IOException
public int newgroups (java.lang.String, java.lang.String, boolean, java.lang.String) throws java.io.IOException
String date
String time
boolean GMT
String distributions
StringBuffer buffer
public int newnews (java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String) throws java.io.IOException
String newsgroups
String date
String time
boolean GMT
String distributions
StringBuffer buffer
public int post () throws java.io.IOException
public int quit () throws java.io.IOException
public int authinfoUser (java.lang.String) throws java.io.IOException
String username
String userParameter
public int authinfoPass (java.lang.String) throws java.io.IOException
String password
String passParameter
public int xover (java.lang.String) throws java.io.IOException
String selectedArticles
public int xhdr (java.lang.String, java.lang.String) throws java.io.IOException
String header
String selectedArticles
StringBuffer command
public int listActive (java.lang.String) throws java.io.IOException
String wildmat
StringBuffer command
}
org/apache/commons/net/nntp/Article.classArticle.java
package org.apache.commons.net.nntp
public org.apache.commons.net.nntp.Article extends java.lang.Object implements org.apache.commons.net.nntp.Threadable {
private int articleNumber
private String subject
private String date
private String articleId
private String simplifiedSubject
private String from
private StringBuffer header
private StringBuffer references
private boolean isReply
public org.apache.commons.net.nntp.Article kid
public org.apache.commons.net.nntp.Article next
public void ()
public void addHeaderField (java.lang.String, java.lang.String)
String name
String val
public void addReference (java.lang.String)
String msgId
public java.lang.String[] getReferences ()
java.util.ArrayList list
int terminator
java.util.StringTokenizer st
private void simplifySubject ()
int i
int end
int start
String subject
int len
boolean done
public static void printThread (org.apache.commons.net.nntp.Article, int)
int i
org.apache.commons.net.nntp.Article article
int depth
public java.lang.String getArticleId ()
public int getArticleNumber ()
public java.lang.String getDate ()
public java.lang.String getFrom ()
public java.lang.String getSubject ()
public void setArticleId (java.lang.String)
String string
public void setArticleNumber (int)
int i
public void setDate (java.lang.String)
String string
public void setFrom (java.lang.String)
String string
public void setSubject (java.lang.String)
String string
public boolean isDummy ()
public java.lang.String messageThreadId ()
public java.lang.String[] messageThreadReferences ()
public java.lang.String simplifiedSubject ()
public boolean subjectIsReply ()
public void setChild (org.apache.commons.net.nntp.Threadable)
org.apache.commons.net.nntp.Threadable child
private void flushSubjectCache ()
public void setNext (org.apache.commons.net.nntp.Threadable)
org.apache.commons.net.nntp.Threadable next
public org.apache.commons.net.nntp.Threadable makeDummy ()
}
org/apache/commons/net/nntp/Threadable.classThreadable.java
package org.apache.commons.net.nntp
public abstract org.apache.commons.net.nntp.Threadable extends java.lang.Object {
public abstract boolean isDummy ()
public abstract java.lang.String messageThreadId ()
public abstract java.lang.String[] messageThreadReferences ()
public abstract java.lang.String simplifiedSubject ()
public abstract boolean subjectIsReply ()
public abstract void setChild (org.apache.commons.net.nntp.Threadable)
public abstract void setNext (org.apache.commons.net.nntp.Threadable)
public abstract org.apache.commons.net.nntp.Threadable makeDummy ()
}
org/apache/commons/net/nntp/SimpleNNTPHeader.classSimpleNNTPHeader.java
package org.apache.commons.net.nntp
public org.apache.commons.net.nntp.SimpleNNTPHeader extends java.lang.Object {
private String __subject
private String __from
private StringBuffer __newsgroups
private StringBuffer __headerFields
private int __newsgroupCount
public void (java.lang.String, java.lang.String)
String from
String subject
public void addNewsgroup (java.lang.String)
String newsgroup
public void addHeaderField (java.lang.String, java.lang.String)
String headerField
String value
public java.lang.String getFromAddress ()
public java.lang.String getSubject ()
public java.lang.String getNewsgroups ()
public java.lang.String toString ()
StringBuffer header
}
org/apache/commons/net/nntp/ArticlePointer.classArticlePointer.java
package org.apache.commons.net.nntp
public final org.apache.commons.net.nntp.ArticlePointer extends java.lang.Object {
public int articleNumber
public String articleId
public void ()
}
org/apache/commons/net/nntp/NewsgroupInfo.classNewsgroupInfo.java
package org.apache.commons.net.nntp
public final org.apache.commons.net.nntp.NewsgroupInfo extends java.lang.Object {
public static final int UNKNOWN_POSTING_PERMISSION
public static final int MODERATED_POSTING_PERMISSION
public static final int PERMITTED_POSTING_PERMISSION
public static final int PROHIBITED_POSTING_PERMISSION
private String __newsgroup
private int __estimatedArticleCount
private int __firstArticle
private int __lastArticle
private int __postingPermission
public void ()
void _setNewsgroup (java.lang.String)
String newsgroup
void _setArticleCount (int)
int count
void _setFirstArticle (int)
int first
void _setLastArticle (int)
int last
void _setPostingPermission (int)
int permission
public java.lang.String getNewsgroup ()
public int getArticleCount ()
public int getFirstArticle ()
public int getLastArticle ()
public int getPostingPermission ()
}
org/apache/commons/net/nntp/NNTPClient.classNNTPClient.java
package org.apache.commons.net.nntp
public org.apache.commons.net.nntp.NNTPClient extends org.apache.commons.net.nntp.NNTP {
public void ()
private void __parseArticlePointer (java.lang.String, org.apache.commons.net.nntp.ArticlePointer) throws org.apache.commons.net.MalformedServerReplyException
NumberFormatException e
String reply
org.apache.commons.net.nntp.ArticlePointer pointer
java.util.StringTokenizer tokenizer
private void __parseGroupReply (java.lang.String, org.apache.commons.net.nntp.NewsgroupInfo) throws org.apache.commons.net.MalformedServerReplyException
NumberFormatException e
String count
String first
String last
String reply
org.apache.commons.net.nntp.NewsgroupInfo info
java.util.StringTokenizer tokenizer
private org.apache.commons.net.nntp.NewsgroupInfo __parseNewsgroupListEntry (java.lang.String)
int lastNum
int firstNum
NumberFormatException e
String entry
org.apache.commons.net.nntp.NewsgroupInfo result
java.util.StringTokenizer tokenizer
int lastNum
int firstNum
String last
String first
String permission
private org.apache.commons.net.nntp.NewsgroupInfo[] __readNewsgroupListing () throws java.io.IOException
org.apache.commons.net.nntp.NewsgroupInfo tmp
int size
String line
java.util.Vector list
java.io.BufferedReader reader
org.apache.commons.net.nntp.NewsgroupInfo[] info
private java.io.Reader __retrieve (int, java.lang.String, org.apache.commons.net.nntp.ArticlePointer) throws java.io.IOException
int command
String articleId
org.apache.commons.net.nntp.ArticlePointer pointer
java.io.Reader reader
private java.io.Reader __retrieve (int, int, org.apache.commons.net.nntp.ArticlePointer) throws java.io.IOException
int command
int articleNumber
org.apache.commons.net.nntp.ArticlePointer pointer
java.io.Reader reader
public java.io.Reader retrieveArticle (java.lang.String, org.apache.commons.net.nntp.ArticlePointer) throws java.io.IOException
String articleId
org.apache.commons.net.nntp.ArticlePointer pointer
public java.io.Reader retrieveArticle (java.lang.String) throws java.io.IOException
String articleId
public java.io.Reader retrieveArticle () throws java.io.IOException
public java.io.Reader retrieveArticle (int, org.apache.commons.net.nntp.ArticlePointer) throws java.io.IOException
int articleNumber
org.apache.commons.net.nntp.ArticlePointer pointer
public java.io.Reader retrieveArticle (int) throws java.io.IOException
int articleNumber
public java.io.Reader retrieveArticleHeader (java.lang.String, org.apache.commons.net.nntp.ArticlePointer) throws java.io.IOException
String articleId
org.apache.commons.net.nntp.ArticlePointer pointer
public java.io.Reader retrieveArticleHeader (java.lang.String) throws java.io.IOException
String articleId
public java.io.Reader retrieveArticleHeader () throws java.io.IOException
public java.io.Reader retrieveArticleHeader (int, org.apache.commons.net.nntp.ArticlePointer) throws java.io.IOException
int articleNumber
org.apache.commons.net.nntp.ArticlePointer pointer
public java.io.Reader retrieveArticleHeader (int) throws java.io.IOException
int articleNumber
public java.io.Reader retrieveArticleBody (java.lang.String, org.apache.commons.net.nntp.ArticlePointer) throws java.io.IOException
String articleId
org.apache.commons.net.nntp.ArticlePointer pointer
public java.io.Reader retrieveArticleBody (java.lang.String) throws java.io.IOException
String articleId
public java.io.Reader retrieveArticleBody () throws java.io.IOException
public java.io.Reader retrieveArticleBody (int, org.apache.commons.net.nntp.ArticlePointer) throws java.io.IOException
int articleNumber
org.apache.commons.net.nntp.ArticlePointer pointer
public java.io.Reader retrieveArticleBody (int) throws java.io.IOException
int articleNumber
public boolean selectNewsgroup (java.lang.String, org.apache.commons.net.nntp.NewsgroupInfo) throws java.io.IOException
String newsgroup
org.apache.commons.net.nntp.NewsgroupInfo info
public boolean selectNewsgroup (java.lang.String) throws java.io.IOException
String newsgroup
public java.lang.String listHelp () throws java.io.IOException
java.io.StringWriter help
java.io.Reader reader
public boolean selectArticle (java.lang.String, org.apache.commons.net.nntp.ArticlePointer) throws java.io.IOException
String articleId
org.apache.commons.net.nntp.ArticlePointer pointer
public boolean selectArticle (java.lang.String) throws java.io.IOException
String articleId
public boolean selectArticle (org.apache.commons.net.nntp.ArticlePointer) throws java.io.IOException
org.apache.commons.net.nntp.ArticlePointer pointer
public boolean selectArticle (int, org.apache.commons.net.nntp.ArticlePointer) throws java.io.IOException
int articleNumber
org.apache.commons.net.nntp.ArticlePointer pointer
public boolean selectArticle (int) throws java.io.IOException
int articleNumber
public boolean selectPreviousArticle (org.apache.commons.net.nntp.ArticlePointer) throws java.io.IOException
org.apache.commons.net.nntp.ArticlePointer pointer
public boolean selectPreviousArticle () throws java.io.IOException
public boolean selectNextArticle (org.apache.commons.net.nntp.ArticlePointer) throws java.io.IOException
org.apache.commons.net.nntp.ArticlePointer pointer
public boolean selectNextArticle () throws java.io.IOException
public org.apache.commons.net.nntp.NewsgroupInfo[] listNewsgroups () throws java.io.IOException
public org.apache.commons.net.nntp.NewsgroupInfo[] listNewsgroups (java.lang.String) throws java.io.IOException
String wildmat
public org.apache.commons.net.nntp.NewsgroupInfo[] listNewNewsgroups (org.apache.commons.net.nntp.NewGroupsOrNewsQuery) throws java.io.IOException
org.apache.commons.net.nntp.NewGroupsOrNewsQuery query
public java.lang.String[] listNewNews (org.apache.commons.net.nntp.NewGroupsOrNewsQuery) throws java.io.IOException
org.apache.commons.net.nntp.NewGroupsOrNewsQuery query
int size
String line
java.util.Vector list
String[] result
java.io.BufferedReader reader
public boolean completePendingCommand () throws java.io.IOException
public java.io.Writer postArticle () throws java.io.IOException
public java.io.Writer forwardArticle (java.lang.String) throws java.io.IOException
String articleId
public boolean logout () throws java.io.IOException
public boolean authenticate (java.lang.String, java.lang.String) throws java.io.IOException
String username
String password
int replyCode
private java.io.Reader __retrieveArticleInfo (java.lang.String) throws java.io.IOException
String articleRange
public java.io.Reader retrieveArticleInfo (int) throws java.io.IOException
int articleNumber
public java.io.Reader retrieveArticleInfo (int, int) throws java.io.IOException
int lowArticleNumber
int highArticleNumber
private java.io.Reader __retrieveHeader (java.lang.String, java.lang.String) throws java.io.IOException
String header
String articleRange
public java.io.Reader retrieveHeader (java.lang.String, int) throws java.io.IOException
String header
int articleNumber
public java.io.Reader retrieveHeader (java.lang.String, int, int) throws java.io.IOException
String header
int lowArticleNumber
int highArticleNumber
}
org/apache/commons/net/nntp/NewGroupsOrNewsQuery.classNewGroupsOrNewsQuery.java
package org.apache.commons.net.nntp
public final org.apache.commons.net.nntp.NewGroupsOrNewsQuery extends java.lang.Object {
private String __date
private String __time
private StringBuffer __distributions
private StringBuffer __newsgroups
private boolean __isGMT
public void (java.util.Calendar, boolean)
java.util.Calendar date
boolean gmt
int num
String str
StringBuffer buffer
public void addNewsgroup (java.lang.String)
String newsgroup
public void omitNewsgroup (java.lang.String)
String newsgroup
public void addDistribution (java.lang.String)
String distribution
public java.lang.String getDate ()
public java.lang.String getTime ()
public boolean isGMT ()
public java.lang.String getDistributions ()
public java.lang.String getNewsgroups ()
}
org/apache/commons/net/nntp/NNTPConnectionClosedException.classNNTPConnectionClosedException.java
package org.apache.commons.net.nntp
public final org.apache.commons.net.nntp.NNTPConnectionClosedException extends java.io.IOException {
public void ()
public void (java.lang.String)
String message
}
org/apache/commons/net/nntp/NNTPCommand.classNNTPCommand.java
package org.apache.commons.net.nntp
public final org.apache.commons.net.nntp.NNTPCommand extends java.lang.Object {
public static final int ARTICLE
public static final int BODY
public static final int GROUP
public static final int HEAD
public static final int HELP
public static final int IHAVE
public static final int LAST
public static final int LIST
public static final int NEWGROUPS
public static final int NEWNEWS
public static final int NEXT
public static final int POST
public static final int QUIT
public static final int SLAVE
public static final int STAT
public static final int AUTHINFO
public static final int XOVER
public static final int XHDR
static final String[] _commands
private void ()
public static final java.lang.String getCommand (int)
int command
static void ()
}
org/apache/commons/net/nntp/Threader.classThreader.java
package org.apache.commons.net.nntp
public org.apache.commons.net.nntp.Threader extends java.lang.Object {
private org.apache.commons.net.nntp.ThreadContainer root
private java.util.HashMap idTable
private int bogusIdCount
public void ()
public org.apache.commons.net.nntp.Threadable thread (org.apache.commons.net.nntp.Threadable[])
int i
org.apache.commons.net.nntp.ThreadContainer r
org.apache.commons.net.nntp.Threadable[] messages
org.apache.commons.net.nntp.Threadable result
private void buildContainer (org.apache.commons.net.nntp.Threadable)
String refString
org.apache.commons.net.nntp.ThreadContainer ref
int i
String[] references
org.apache.commons.net.nntp.ThreadContainer rest
org.apache.commons.net.nntp.ThreadContainer prev
org.apache.commons.net.nntp.Threadable threadable
String id
org.apache.commons.net.nntp.ThreadContainer container
org.apache.commons.net.nntp.ThreadContainer parentRef
private org.apache.commons.net.nntp.ThreadContainer findRootSet ()
Object key
org.apache.commons.net.nntp.ThreadContainer c
org.apache.commons.net.nntp.ThreadContainer root
java.util.Iterator iter
private void pruneEmptyContainers (org.apache.commons.net.nntp.ThreadContainer)
org.apache.commons.net.nntp.ThreadContainer tail
org.apache.commons.net.nntp.ThreadContainer kids
org.apache.commons.net.nntp.ThreadContainer parent
org.apache.commons.net.nntp.ThreadContainer container
org.apache.commons.net.nntp.ThreadContainer prev
org.apache.commons.net.nntp.ThreadContainer next
private void gatherSubjects ()
org.apache.commons.net.nntp.ThreadContainer c
org.apache.commons.net.nntp.Threadable threadable
String subj
org.apache.commons.net.nntp.ThreadContainer old
org.apache.commons.net.nntp.ThreadContainer c
org.apache.commons.net.nntp.ThreadContainer tail
org.apache.commons.net.nntp.ThreadContainer tail
org.apache.commons.net.nntp.ThreadContainer newc
org.apache.commons.net.nntp.Threadable threadable
String subj
org.apache.commons.net.nntp.ThreadContainer old
int count
java.util.HashMap subjectTable
org.apache.commons.net.nntp.ThreadContainer prev
org.apache.commons.net.nntp.ThreadContainer c
org.apache.commons.net.nntp.ThreadContainer rest
}
org/apache/commons/net/nntp/ThreadContainer.classThreader.java
package org.apache.commons.net.nntp
org.apache.commons.net.nntp.ThreadContainer extends java.lang.Object {
org.apache.commons.net.nntp.Threadable threadable
org.apache.commons.net.nntp.ThreadContainer parent
org.apache.commons.net.nntp.ThreadContainer prev
org.apache.commons.net.nntp.ThreadContainer next
org.apache.commons.net.nntp.ThreadContainer child
void ()
boolean findChild (org.apache.commons.net.nntp.ThreadContainer)
org.apache.commons.net.nntp.ThreadContainer target
void flush ()
void reverseChildren ()
org.apache.commons.net.nntp.ThreadContainer kid
org.apache.commons.net.nntp.ThreadContainer prev
org.apache.commons.net.nntp.ThreadContainer rest
}
org/apache/commons/net/SocketClient.classSocketClient.java
package org.apache.commons.net
public abstract org.apache.commons.net.SocketClient extends java.lang.Object {
public static final String NETASCII_EOL
private static final org.apache.commons.net.SocketFactory __DEFAULT_SOCKET_FACTORY
protected int _timeout_
protected java.net.Socket _socket_
protected boolean _isConnected_
protected int _defaultPort_
protected java.io.InputStream _input_
protected java.io.OutputStream _output_
protected org.apache.commons.net.SocketFactory _socketFactory_
public void ()
protected void _connectAction_ () throws java.io.IOException
public void connect (java.net.InetAddress, int) throws java.net.SocketException java.io.IOException
java.net.InetAddress host
int port
public void connect (java.lang.String, int) throws java.net.SocketException java.io.IOException
String hostname
int port
public void connect (java.net.InetAddress, int, java.net.InetAddress, int) throws java.net.SocketException java.io.IOException
java.net.InetAddress host
int port
java.net.InetAddress localAddr
int localPort
public void connect (java.lang.String, int, java.net.InetAddress, int) throws java.net.SocketException java.io.IOException
String hostname
int port
java.net.InetAddress localAddr
int localPort
public void connect (java.net.InetAddress) throws java.net.SocketException java.io.IOException
java.net.InetAddress host
public void connect (java.lang.String) throws java.net.SocketException java.io.IOException
String hostname
public void disconnect () throws java.io.IOException
public boolean isConnected ()
public void setDefaultPort (int)
int port
public int getDefaultPort ()
public void setDefaultTimeout (int)
int timeout
public int getDefaultTimeout ()
public void setSoTimeout (int) throws java.net.SocketException
int timeout
public int getSoTimeout () throws java.net.SocketException
public void setTcpNoDelay (boolean) throws java.net.SocketException
boolean on
public boolean getTcpNoDelay () throws java.net.SocketException
public void setSoLinger (boolean, int) throws java.net.SocketException
boolean on
int val
public int getSoLinger () throws java.net.SocketException
public int getLocalPort ()
public java.net.InetAddress getLocalAddress ()
public int getRemotePort ()
public java.net.InetAddress getRemoteAddress ()
public boolean verifyRemote (java.net.Socket)
java.net.Socket socket
java.net.InetAddress host1
java.net.InetAddress host2
public void setSocketFactory (org.apache.commons.net.SocketFactory)
org.apache.commons.net.SocketFactory factory
static void ()
}
org/apache/commons/net/ProtocolCommandSupport.classProtocolCommandSupport.java
package org.apache.commons.net
public org.apache.commons.net.ProtocolCommandSupport extends java.lang.Object implements java.io.Serializable {
private Object __source
private org.apache.commons.net.util.ListenerList __listeners
public void (java.lang.Object)
Object source
public void fireCommandSent (java.lang.String, java.lang.String)
org.apache.commons.net.ProtocolCommandListener listener
String command
String message
java.util.Enumeration en
org.apache.commons.net.ProtocolCommandEvent event
public void fireReplyReceived (int, java.lang.String)
org.apache.commons.net.ProtocolCommandListener listener
int replyCode
String message
java.util.Enumeration en
org.apache.commons.net.ProtocolCommandEvent event
public void addProtocolCommandListener (org.apache.commons.net.ProtocolCommandListener)
org.apache.commons.net.ProtocolCommandListener listener
public void removeProtocolCommandListener (org.apache.commons.net.ProtocolCommandListener)
org.apache.commons.net.ProtocolCommandListener listener
public int getListenerCount ()
}
org/apache/commons/net/ProtocolCommandListener.classProtocolCommandListener.java
package org.apache.commons.net
public abstract org.apache.commons.net.ProtocolCommandListener extends java.lang.Object implements java.util.EventListener {
public abstract void protocolCommandSent (org.apache.commons.net.ProtocolCommandEvent)
public abstract void protocolReplyReceived (org.apache.commons.net.ProtocolCommandEvent)
}
org/apache/commons/net/SocketFactory.classSocketFactory.java
package org.apache.commons.net
public abstract org.apache.commons.net.SocketFactory extends java.lang.Object {
public abstract java.net.Socket createSocket (java.lang.String, int) throws java.net.UnknownHostException java.io.IOException
public abstract java.net.Socket createSocket (java.net.InetAddress, int) throws java.io.IOException
public abstract java.net.Socket createSocket (java.lang.String, int, java.net.InetAddress, int) throws java.net.UnknownHostException java.io.IOException
public abstract java.net.Socket createSocket (java.net.InetAddress, int, java.net.InetAddress, int) throws java.io.IOException
public abstract java.net.ServerSocket createServerSocket (int) throws java.io.IOException
public abstract java.net.ServerSocket createServerSocket (int, int) throws java.io.IOException
public abstract java.net.ServerSocket createServerSocket (int, int, java.net.InetAddress) throws java.io.IOException
}
org/apache/commons/net/util/ListenerList.classListenerList.java
package org.apache.commons.net.util
public org.apache.commons.net.util.ListenerList extends java.lang.Object implements java.io.Serializable {
private java.util.Vector __listeners
public void ()
public synchronized void addListener (java.util.EventListener)
java.util.EventListener listener
public synchronized void removeListener (java.util.EventListener)
java.util.EventListener listener
public synchronized java.util.Enumeration getListeners ()
public int getListenerCount ()
}
org/apache/commons/net/ProtocolCommandEvent.classProtocolCommandEvent.java
package org.apache.commons.net
public org.apache.commons.net.ProtocolCommandEvent extends java.util.EventObject {
private int __replyCode
private boolean __isCommand
private String __message
private String __command
public void (java.lang.Object, java.lang.String, java.lang.String)
Object source
String command
String message
public void (java.lang.Object, int, java.lang.String)
Object source
int replyCode
String message
public java.lang.String getCommand ()
public int getReplyCode ()
public boolean isCommand ()
public boolean isReply ()
public java.lang.String getMessage ()
}
org/apache/commons/net/MalformedServerReplyException.classMalformedServerReplyException.java
package org.apache.commons.net
public org.apache.commons.net.MalformedServerReplyException extends java.io.IOException {
public void ()
public void (java.lang.String)
String message
}
org/apache/commons/net/pop3/POP3MessageInfo.classPOP3MessageInfo.java
package org.apache.commons.net.pop3
public final org.apache.commons.net.pop3.POP3MessageInfo extends java.lang.Object {
public int number
public int size
public String identifier
public void ()
public void (int, int)
int num
int octets
public void (int, java.lang.String)
int num
String uid
}
org/apache/commons/net/pop3/POP3Client.classPOP3Client.java
package org.apache.commons.net.pop3
public org.apache.commons.net.pop3.POP3Client extends org.apache.commons.net.pop3.POP3 {
public void ()
private static org.apache.commons.net.pop3.POP3MessageInfo __parseStatus (java.lang.String)
NumberFormatException e
String line
int num
int size
java.util.StringTokenizer tokenizer
private static org.apache.commons.net.pop3.POP3MessageInfo __parseUID (java.lang.String)
NumberFormatException e
String line
int num
java.util.StringTokenizer tokenizer
public boolean login (java.lang.String, java.lang.String) throws java.io.IOException
String username
String password
public boolean login (java.lang.String, java.lang.String, java.lang.String) throws java.io.IOException java.security.NoSuchAlgorithmException
String username
String timestamp
String secret
int i
byte[] digest
StringBuffer buffer
StringBuffer digestBuffer
java.security.MessageDigest md5
public boolean logout () throws java.io.IOException
public boolean noop () throws java.io.IOException
public boolean deleteMessage (int) throws java.io.IOException
int messageId
public boolean reset () throws java.io.IOException
public org.apache.commons.net.pop3.POP3MessageInfo status () throws java.io.IOException
public org.apache.commons.net.pop3.POP3MessageInfo listMessage (int) throws java.io.IOException
int messageId
public org.apache.commons.net.pop3.POP3MessageInfo[] listMessages () throws java.io.IOException
org.apache.commons.net.pop3.POP3MessageInfo[] messages
java.util.Enumeration en
int line
public org.apache.commons.net.pop3.POP3MessageInfo listUniqueIdentifier (int) throws java.io.IOException
int messageId
public org.apache.commons.net.pop3.POP3MessageInfo[] listUniqueIdentifiers () throws java.io.IOException
org.apache.commons.net.pop3.POP3MessageInfo[] messages
java.util.Enumeration en
int line
public java.io.Reader retrieveMessage (int) throws java.io.IOException
int messageId
public java.io.Reader retrieveMessageTop (int, int) throws java.io.IOException
int messageId
int numLines
}
org/apache/commons/net/pop3/POP3.classPOP3.java
package org.apache.commons.net.pop3
public org.apache.commons.net.pop3.POP3 extends org.apache.commons.net.SocketClient {
public static final int DEFAULT_PORT
public static final int DISCONNECTED_STATE
public static final int AUTHORIZATION_STATE
public static final int TRANSACTION_STATE
public static final int UPDATE_STATE
static final String _OK
static final String _ERROR
private static final String __DEFAULT_ENCODING
private int __popState
private java.io.BufferedWriter __writer
private StringBuffer __commandBuffer
java.io.BufferedReader _reader
int _replyCode
String _lastReplyLine
java.util.Vector _replyLines
protected org.apache.commons.net.ProtocolCommandSupport _commandSupport_
public void ()
private void __getReply () throws java.io.IOException
String line
protected void _connectAction_ () throws java.io.IOException
public void addProtocolCommandListener (org.apache.commons.net.ProtocolCommandListener)
org.apache.commons.net.ProtocolCommandListener listener
public void removeProtocolCommandistener (org.apache.commons.net.ProtocolCommandListener)
org.apache.commons.net.ProtocolCommandListener listener
public void setState (int)
int state
public int getState ()
public void getAdditionalReply () throws java.io.IOException
String line
public void disconnect () throws java.io.IOException
public int sendCommand (java.lang.String, java.lang.String) throws java.io.IOException
String command
String args
String message
public int sendCommand (java.lang.String) throws java.io.IOException
String command
public int sendCommand (int, java.lang.String) throws java.io.IOException
int command
String args
public int sendCommand (int) throws java.io.IOException
int command
public java.lang.String[] getReplyStrings ()
String[] lines
public java.lang.String getReplyString ()
java.util.Enumeration en
StringBuffer buffer
}
org/apache/commons/net/pop3/POP3Command.classPOP3Command.java
package org.apache.commons.net.pop3
public final org.apache.commons.net.pop3.POP3Command extends java.lang.Object {
public static final int USER
public static final int PASS
public static final int QUIT
public static final int STAT
public static final int LIST
public static final int RETR
public static final int DELE
public static final int NOOP
public static final int RSET
public static final int APOP
public static final int TOP
public static final int UIDL
static final String[] _commands
private void ()
public static final java.lang.String getCommand (int)
int command
static void ()
}
org/apache/commons/net/pop3/POP3Reply.classPOP3Reply.java
package org.apache.commons.net.pop3
public final org.apache.commons.net.pop3.POP3Reply extends java.lang.Object {
public static int OK
public static int ERROR
private void ()
static void ()
}
org/apache/commons/net/ftp/parser/ParserInitializationException.classParserInitializationException.java
package org.apache.commons.net.ftp.parser
public org.apache.commons.net.ftp.parser.ParserInitializationException extends java.lang.RuntimeException {
private final Throwable rootCause
public void (java.lang.String)
String message
public void (java.lang.String, java.lang.Throwable)
String message
Throwable rootCause
public java.lang.Throwable getRootCause ()
}
org/apache/commons/net/ftp/parser/CompositeFileEntryParser.classCompositeFileEntryParser.java
package org.apache.commons.net.ftp.parser
public org.apache.commons.net.ftp.parser.CompositeFileEntryParser extends org.apache.commons.net.ftp.FTPFileEntryParserImpl {
private final org.apache.commons.net.ftp.FTPFileEntryParser[] ftpFileEntryParsers
private org.apache.commons.net.ftp.FTPFileEntryParser cachedFtpFileEntryParser
public void (org.apache.commons.net.ftp.FTPFileEntryParser[])
org.apache.commons.net.ftp.FTPFileEntryParser[] ftpFileEntryParsers
public org.apache.commons.net.ftp.FTPFile parseFTPEntry (java.lang.String)
org.apache.commons.net.ftp.FTPFile matched
org.apache.commons.net.ftp.FTPFileEntryParser ftpFileEntryParser
org.apache.commons.net.ftp.FTPFile matched
int iterParser
String listEntry
}
org/apache/commons/net/ftp/parser/RegexFTPFileEntryParserImpl.classRegexFTPFileEntryParserImpl.java
package org.apache.commons.net.ftp.parser
public abstract org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl extends org.apache.commons.net.ftp.FTPFileEntryParserImpl {
private org.apache.oro.text.regex.Pattern pattern
private org.apache.oro.text.regex.MatchResult result
protected org.apache.oro.text.regex.PatternMatcher _matcher_
public void (java.lang.String)
org.apache.oro.text.regex.MalformedPatternException e
String regex
public boolean matches (java.lang.String)
String s
public int getGroupCnt ()
public java.lang.String group (int)
int matchnum
public java.lang.String getGroupsAsString ()
int i
StringBuffer b
}
org/apache/commons/net/ftp/parser/OS2FTPEntryParser.classOS2FTPEntryParser.java
package org.apache.commons.net.ftp.parser
public org.apache.commons.net.ftp.parser.OS2FTPEntryParser extends org.apache.commons.net.ftp.parser.ConfigurableFTPFileEntryParserImpl {
private static final String DEFAULT_DATE_FORMAT
private static final String REGEX
public void ()
public void (org.apache.commons.net.ftp.FTPClientConfig)
org.apache.commons.net.ftp.FTPClientConfig config
public org.apache.commons.net.ftp.FTPFile parseFTPEntry (java.lang.String)
java.text.ParseException e
String size
String attrib
String dirString
String datestr
String name
String entry
org.apache.commons.net.ftp.FTPFile f
protected org.apache.commons.net.ftp.FTPClientConfig getDefaultConfiguration ()
}
org/apache/commons/net/ftp/parser/ConfigurableFTPFileEntryParserImpl.classConfigurableFTPFileEntryParserImpl.java
package org.apache.commons.net.ftp.parser
public abstract org.apache.commons.net.ftp.parser.ConfigurableFTPFileEntryParserImpl extends org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl implements org.apache.commons.net.ftp.Configurable {
private org.apache.commons.net.ftp.parser.FTPTimestampParser timestampParser
public void (java.lang.String)
String regex
public java.util.Calendar parseTimestamp (java.lang.String) throws java.text.ParseException
String timestampStr
public void configure (org.apache.commons.net.ftp.FTPClientConfig)
org.apache.commons.net.ftp.FTPClientConfig defaultCfg
org.apache.commons.net.ftp.FTPClientConfig config
protected abstract org.apache.commons.net.ftp.FTPClientConfig getDefaultConfiguration ()
}
org/apache/commons/net/ftp/parser/FTPTimestampParser.classFTPTimestampParser.java
package org.apache.commons.net.ftp.parser
public abstract org.apache.commons.net.ftp.parser.FTPTimestampParser extends java.lang.Object {
public static final String DEFAULT_SDF
public static final String DEFAULT_RECENT_SDF
public abstract java.util.Calendar parseTimestamp (java.lang.String) throws java.text.ParseException
}
org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.classFTPTimestampParserImpl.java
package org.apache.commons.net.ftp.parser
public org.apache.commons.net.ftp.parser.FTPTimestampParserImpl extends java.lang.Object implements org.apache.commons.net.ftp.parser.FTPTimestampParser org.apache.commons.net.ftp.Configurable {
private java.text.SimpleDateFormat defaultDateFormat
private java.text.SimpleDateFormat recentDateFormat
public void ()
public java.util.Calendar parseTimestamp (java.lang.String) throws java.text.ParseException
String timestampStr
java.util.Calendar now
java.util.Calendar working
java.text.ParsePosition pp
java.util.Date parsed
public java.text.SimpleDateFormat getDefaultDateFormat ()
public java.lang.String getDefaultDateFormatString ()
private void setDefaultDateFormat (java.lang.String)
String format
public java.text.SimpleDateFormat getRecentDateFormat ()
public java.lang.String getRecentDateFormatString ()
private void setRecentDateFormat (java.lang.String)
String format
public java.lang.String[] getShortMonths ()
public java.util.TimeZone getServerTimeZone ()
private void setServerTimeZone (java.lang.String)
String serverTimeZoneId
java.util.TimeZone serverTimeZone
public void configure (org.apache.commons.net.ftp.FTPClientConfig)
org.apache.commons.net.ftp.FTPClientConfig config
java.text.DateFormatSymbols dfs
String languageCode
String shortmonths
String recentFormatString
String defaultFormatString
}
org/apache/commons/net/ftp/parser/VMSFTPEntryParser.classVMSFTPEntryParser.java
package org.apache.commons.net.ftp.parser
public org.apache.commons.net.ftp.parser.VMSFTPEntryParser extends org.apache.commons.net.ftp.parser.ConfigurableFTPFileEntryParserImpl {
private static final String DEFAULT_DATE_FORMAT
private static final String REGEX
public void ()
public void (org.apache.commons.net.ftp.FTPClientConfig)
org.apache.commons.net.ftp.FTPClientConfig config
public org.apache.commons.net.ftp.FTPFile[] parseFileList (java.io.InputStream) throws java.io.IOException
java.io.InputStream listStream
org.apache.commons.net.ftp.FTPListParseEngine engine
public org.apache.commons.net.ftp.FTPFile parseFTPEntry (java.lang.String)
java.text.ParseException e
String grp
String user
String grp
String user
org.apache.commons.net.ftp.FTPFile f
String name
String size
String datestr
String owner
String grp
String user
java.util.StringTokenizer t
long sizeInBytes
String entry
long longBlock
public java.lang.String readNextEntry (java.io.BufferedReader) throws java.io.IOException
java.io.BufferedReader reader
String line
StringBuffer entry
protected boolean isVersioning ()
protected org.apache.commons.net.ftp.FTPClientConfig getDefaultConfiguration ()
}
org/apache/commons/net/ftp/parser/OS400FTPEntryParser.classOS400FTPEntryParser.java
package org.apache.commons.net.ftp.parser
public org.apache.commons.net.ftp.parser.OS400FTPEntryParser extends org.apache.commons.net.ftp.parser.ConfigurableFTPFileEntryParserImpl {
private static final String DEFAULT_DATE_FORMAT
private static final String REGEX
public void ()
public void (org.apache.commons.net.ftp.FTPClientConfig)
org.apache.commons.net.ftp.FTPClientConfig config
public org.apache.commons.net.ftp.FTPFile parseFTPEntry (java.lang.String)
java.text.ParseException e
int type
int type
NumberFormatException e
String usr
String filesize
String datestr
String typeStr
String name
int pos
int type
String entry
org.apache.commons.net.ftp.FTPFile file
protected org.apache.commons.net.ftp.FTPClientConfig getDefaultConfiguration ()
}
org/apache/commons/net/ftp/parser/MVSFTPEntryParser.classMVSFTPEntryParser.java
package org.apache.commons.net.ftp.parser
public org.apache.commons.net.ftp.parser.MVSFTPEntryParser extends org.apache.commons.net.ftp.parser.ConfigurableFTPFileEntryParserImpl {
private static final String REGEX
static final String DEFAULT_DATE_FORMAT
public void ()
public org.apache.commons.net.ftp.FTPFile parseFTPEntry (java.lang.String)
String dataSetName
String entry
org.apache.commons.net.ftp.FTPFile f
protected org.apache.commons.net.ftp.FTPClientConfig getDefaultConfiguration ()
}
org/apache/commons/net/ftp/parser/FTPFileEntryParserFactory.classFTPFileEntryParserFactory.java
package org.apache.commons.net.ftp.parser
public abstract org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory extends java.lang.Object {
public abstract org.apache.commons.net.ftp.FTPFileEntryParser createFileEntryParser (java.lang.String) throws org.apache.commons.net.ftp.parser.ParserInitializationException
public abstract org.apache.commons.net.ftp.FTPFileEntryParser createFileEntryParser (org.apache.commons.net.ftp.FTPClientConfig) throws org.apache.commons.net.ftp.parser.ParserInitializationException
}
org/apache/commons/net/ftp/parser/VMSVersioningFTPEntryParser$NameVersion.classVMSVersioningFTPEntryParser.java
package org.apache.commons.net.ftp.parser
org.apache.commons.net.ftp.parser.VMSVersioningFTPEntryParser$NameVersion extends java.lang.Object {
String name
int versionNumber
private final org.apache.commons.net.ftp.parser.VMSVersioningFTPEntryParser this$0
void (org.apache.commons.net.ftp.parser.VMSVersioningFTPEntryParser, java.lang.String, java.lang.String)
org.apache.commons.net.ftp.parser.VMSVersioningFTPEntryParser this$0
String name
String vers
}
org/apache/commons/net/ftp/parser/VMSVersioningFTPEntryParser.classVMSVersioningFTPEntryParser.java
package org.apache.commons.net.ftp.parser
public org.apache.commons.net.ftp.parser.VMSVersioningFTPEntryParser extends org.apache.commons.net.ftp.parser.VMSFTPEntryParser {
private org.apache.oro.text.regex.Perl5Matcher _preparse_matcher_
private org.apache.oro.text.regex.Pattern _preparse_pattern_
private static final String PRE_PARSE_REGEX
public void ()
public void (org.apache.commons.net.ftp.FTPClientConfig)
org.apache.oro.text.regex.MalformedPatternException e
org.apache.commons.net.ftp.FTPClientConfig config
public java.util.List preParse (java.util.List)
String name
String version
org.apache.commons.net.ftp.parser.VMSVersioningFTPEntryParser$NameVersion nv
org.apache.commons.net.ftp.parser.VMSVersioningFTPEntryParser$NameVersion existing
String entry
org.apache.oro.text.regex.MatchResult result
String name
String version
org.apache.commons.net.ftp.parser.VMSVersioningFTPEntryParser$NameVersion nv
org.apache.commons.net.ftp.parser.VMSVersioningFTPEntryParser$NameVersion existing
String entry
org.apache.oro.text.regex.MatchResult result
java.util.List original
java.util.HashMap existingEntries
java.util.ListIterator iter
protected boolean isVersioning ()
}
org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.classDefaultFTPFileEntryParserFactory.java
package org.apache.commons.net.ftp.parser
public org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory extends java.lang.Object implements org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory {
private org.apache.commons.net.ftp.FTPClientConfig config
public void ()
public org.apache.commons.net.ftp.FTPFileEntryParser createFileEntryParser (java.lang.String)
String ukey
ClassNotFoundException e
ClassCastException e
Throwable e
String key
Class parserClass
org.apache.commons.net.ftp.FTPFileEntryParser parser
public org.apache.commons.net.ftp.FTPFileEntryParser createFileEntryParser (org.apache.commons.net.ftp.FTPClientConfig) throws org.apache.commons.net.ftp.parser.ParserInitializationException
org.apache.commons.net.ftp.FTPClientConfig config
String key
public org.apache.commons.net.ftp.FTPFileEntryParser createUnixFTPEntryParser ()
public org.apache.commons.net.ftp.FTPFileEntryParser createVMSVersioningFTPEntryParser ()
public org.apache.commons.net.ftp.FTPFileEntryParser createNTFTPEntryParser ()
public org.apache.commons.net.ftp.FTPFileEntryParser createOS2FTPEntryParser ()
public org.apache.commons.net.ftp.FTPFileEntryParser createOS400FTPEntryParser ()
public org.apache.commons.net.ftp.FTPFileEntryParser createMVSEntryParser ()
}
org/apache/commons/net/ftp/parser/NTFTPEntryParser.classNTFTPEntryParser.java
package org.apache.commons.net.ftp.parser
public org.apache.commons.net.ftp.parser.NTFTPEntryParser extends org.apache.commons.net.ftp.parser.ConfigurableFTPFileEntryParserImpl {
private static final String DEFAULT_DATE_FORMAT
private static final String REGEX
public void ()
public void (org.apache.commons.net.ftp.FTPClientConfig)
org.apache.commons.net.ftp.FTPClientConfig config
public org.apache.commons.net.ftp.FTPFile parseFTPEntry (java.lang.String)
java.text.ParseException e
String datestr
String dirString
String size
String name
String entry
org.apache.commons.net.ftp.FTPFile f
public org.apache.commons.net.ftp.FTPClientConfig getDefaultConfiguration ()
}
org/apache/commons/net/ftp/parser/UnixFTPEntryParser.classUnixFTPEntryParser.java
package org.apache.commons.net.ftp.parser
public org.apache.commons.net.ftp.parser.UnixFTPEntryParser extends org.apache.commons.net.ftp.parser.ConfigurableFTPFileEntryParserImpl {
private static final String DEFAULT_MONTHS
static final String DEFAULT_DATE_FORMAT
static final String DEFAULT_RECENT_DATE_FORMAT
static final String NUMERIC_DATE_FORMAT
public static final org.apache.commons.net.ftp.FTPClientConfig NUMERIC_DATE_CONFIG
private static final String REGEX
public void ()
public void (org.apache.commons.net.ftp.FTPClientConfig)
org.apache.commons.net.ftp.FTPClientConfig config
public org.apache.commons.net.ftp.FTPFile parseFTPEntry (java.lang.String)
java.text.ParseException e
int type
int type
int type
String execPerm
int access
NumberFormatException e
NumberFormatException e
int end
String typeStr
String hardLinkCount
String usr
String grp
String filesize
String datestr
String name
String endtoken
int g
int type
String entry
org.apache.commons.net.ftp.FTPFile file
boolean isDevice
protected org.apache.commons.net.ftp.FTPClientConfig getDefaultConfiguration ()
static void ()
}
org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParser.classEnterpriseUnixFTPEntryParser.java
package org.apache.commons.net.ftp.parser
public org.apache.commons.net.ftp.parser.EnterpriseUnixFTPEntryParser extends org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl {
private static final String MONTHS
private static final String REGEX
public void ()
public org.apache.commons.net.ftp.FTPFile parseFTPEntry (java.lang.String)
NumberFormatException e
int year
int pos
int month
NumberFormatException e
String usr
String grp
String filesize
String mo
String da
String yr
String hr
String min
String name
java.util.Calendar cal
String entry
org.apache.commons.net.ftp.FTPFile file
}
org/apache/commons/net/ftp/FTPFileEntryParserImpl.classFTPFileEntryParserImpl.java
package org.apache.commons.net.ftp
public abstract org.apache.commons.net.ftp.FTPFileEntryParserImpl extends java.lang.Object implements org.apache.commons.net.ftp.FTPFileEntryParser org.apache.commons.net.ftp.FTPFileListParser {
public void ()
public org.apache.commons.net.ftp.FTPFile[] parseFileList (java.io.InputStream, java.lang.String) throws java.io.IOException
java.io.InputStream listStream
String encoding
org.apache.commons.net.ftp.FTPFileList ffl
public org.apache.commons.net.ftp.FTPFile[] parseFileList (java.io.InputStream) throws java.io.IOException
java.io.InputStream listStream
public java.lang.String readNextEntry (java.io.BufferedReader) throws java.io.IOException
java.io.BufferedReader reader
public java.util.List preParse (java.util.List)
String entry
java.util.List original
java.util.Iterator it
}
org/apache/commons/net/ftp/FTPFileEntryParser.classFTPFileEntryParser.java
package org.apache.commons.net.ftp
public abstract org.apache.commons.net.ftp.FTPFileEntryParser extends java.lang.Object {
public abstract org.apache.commons.net.ftp.FTPFile parseFTPEntry (java.lang.String)
public abstract java.lang.String readNextEntry (java.io.BufferedReader) throws java.io.IOException
public abstract java.util.List preParse (java.util.List)
}
org/apache/commons/net/ftp/FTPFileListParser.classFTPFileListParser.java
package org.apache.commons.net.ftp
public abstract org.apache.commons.net.ftp.FTPFileListParser extends java.lang.Object {
public abstract org.apache.commons.net.ftp.FTPFile[] parseFileList (java.io.InputStream, java.lang.String) throws java.io.IOException
public abstract org.apache.commons.net.ftp.FTPFile[] parseFileList (java.io.InputStream) throws java.io.IOException
}
org/apache/commons/net/ftp/FTPFile.classFTPFile.java
package org.apache.commons.net.ftp
public org.apache.commons.net.ftp.FTPFile extends java.lang.Object implements java.io.Serializable {
public static final int FILE_TYPE
public static final int DIRECTORY_TYPE
public static final int SYMBOLIC_LINK_TYPE
public static final int UNKNOWN_TYPE
public static final int USER_ACCESS
public static final int GROUP_ACCESS
public static final int WORLD_ACCESS
public static final int READ_PERMISSION
public static final int WRITE_PERMISSION
public static final int EXECUTE_PERMISSION
int _type
int _hardLinkCount
long _size
String _rawListing
String _user
String _group
String _name
String _link
java.util.Calendar _date
boolean[][] _permissions
public void ()
public void setRawListing (java.lang.String)
String rawListing
public java.lang.String getRawListing ()
public boolean isDirectory ()
public boolean isFile ()
public boolean isSymbolicLink ()
public boolean isUnknown ()
public void setType (int)
int type
public int getType ()
public void setName (java.lang.String)
String name
public java.lang.String getName ()
public void setSize (long)
long size
public long getSize ()
public void setHardLinkCount (int)
int links
public int getHardLinkCount ()
public void setGroup (java.lang.String)
String group
public java.lang.String getGroup ()
public void setUser (java.lang.String)
String user
public java.lang.String getUser ()
public void setLink (java.lang.String)
String link
public java.lang.String getLink ()
public void setTimestamp (java.util.Calendar)
java.util.Calendar date
public java.util.Calendar getTimestamp ()
public void setPermission (int, int, boolean)
int access
int permission
boolean value
public boolean hasPermission (int, int)
int access
int permission
public java.lang.String toString ()
}
org/apache/commons/net/ftp/Configurable.classConfigurable.java
package org.apache.commons.net.ftp
public abstract org.apache.commons.net.ftp.Configurable extends java.lang.Object {
public abstract void configure (org.apache.commons.net.ftp.FTPClientConfig)
}
org/apache/commons/net/ftp/FTPClientConfig.classFTPClientConfig.java
package org.apache.commons.net.ftp
public org.apache.commons.net.ftp.FTPClientConfig extends java.lang.Object {
public static final String SYST_UNIX
public static final String SYST_VMS
public static final String SYST_NT
public static final String SYST_OS2
public static final String SYST_OS400
public static final String SYST_MVS
private final String serverSystemKey
private String defaultDateFormatStr
private String recentDateFormatStr
private String serverLanguageCode
private String shortMonthNames
private String serverTimeZoneId
private static java.util.Map LANGUAGE_CODE_MAP
public void (java.lang.String)
String systemKey
public void ()
public void (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
String systemKey
String defaultDateFormatStr
String recentDateFormatStr
String serverLanguageCode
String shortMonthNames
String serverTimeZoneId
public java.lang.String getServerSystemKey ()
public java.lang.String getDefaultDateFormatStr ()
public java.lang.String getRecentDateFormatStr ()
public java.lang.String getServerTimeZoneId ()
public java.lang.String getShortMonthNames ()
public java.lang.String getServerLanguageCode ()
public void setDefaultDateFormatStr (java.lang.String)
String defaultDateFormatStr
public void setRecentDateFormatStr (java.lang.String)
String recentDateFormatStr
public void setServerTimeZoneId (java.lang.String)
String serverTimeZoneId
public void setShortMonthNames (java.lang.String)
String shortMonthNames
public void setServerLanguageCode (java.lang.String)
String serverLanguageCode
public static java.text.DateFormatSymbols lookupDateFormatSymbols (java.lang.String)
String languageCode
Object lang
public static java.text.DateFormatSymbols getDateFormatSymbols (java.lang.String)
String shortmonths
String[] months
java.text.DateFormatSymbols dfs
private static java.lang.String[] splitShortMonthString (java.lang.String)
String shortmonths
java.util.StringTokenizer st
int monthcnt
String[] months
int pos
public static java.util.Collection getSupportedLanguageCodes ()
static void ()
}
org/apache/commons/net/ftp/FTPListParseEngine.classFTPListParseEngine.java
package org.apache.commons.net.ftp
public org.apache.commons.net.ftp.FTPListParseEngine extends java.lang.Object {
private java.util.List entries
private java.util.ListIterator _internalIterator
org.apache.commons.net.ftp.FTPFileEntryParser parser
public void (org.apache.commons.net.ftp.FTPFileEntryParser)
org.apache.commons.net.ftp.FTPFileEntryParser parser
public void readServerList (java.io.InputStream, java.lang.String) throws java.io.IOException
java.io.InputStream stream
String encoding
public void readServerList (java.io.InputStream) throws java.io.IOException
java.io.InputStream stream
private void readStream (java.io.InputStream, java.lang.String) throws java.io.IOException
java.io.BufferedReader reader
java.io.InputStream stream
String encoding
java.io.BufferedReader reader
String line
public org.apache.commons.net.ftp.FTPFile[] getNext (int)
String entry
org.apache.commons.net.ftp.FTPFile temp
int quantityRequested
java.util.List tmpResults
int count
public org.apache.commons.net.ftp.FTPFile[] getPrevious (int)
String entry
org.apache.commons.net.ftp.FTPFile temp
int quantityRequested
java.util.List tmpResults
int count
public org.apache.commons.net.ftp.FTPFile[] getFiles () throws java.io.IOException
String entry
org.apache.commons.net.ftp.FTPFile temp
java.util.List tmpResults
java.util.Iterator iter
public boolean hasNext ()
public boolean hasPrevious ()
public void resetIterator ()
}
org/apache/commons/net/ftp/FTPFileIterator.classFTPFileIterator.java
package org.apache.commons.net.ftp
public org.apache.commons.net.ftp.FTPFileIterator extends java.lang.Object {
private java.util.List rawlines
private org.apache.commons.net.ftp.FTPFileEntryParser parser
private static final int UNINIT
private static final int DIREMPTY
private int itemptr
private int firstGoodEntry
private static final org.apache.commons.net.ftp.FTPFile[] EMPTY
void (org.apache.commons.net.ftp.FTPFileList)
org.apache.commons.net.ftp.FTPFileList rawlist
void (org.apache.commons.net.ftp.FTPFileList, org.apache.commons.net.ftp.FTPFileEntryParser)
org.apache.commons.net.ftp.FTPFileList rawlist
org.apache.commons.net.ftp.FTPFileEntryParser parser
private org.apache.commons.net.ftp.FTPFile parseFTPEntry (java.lang.String)
String entry
private int getFirstGoodEntry ()
String line
int iter
org.apache.commons.net.ftp.FTPFile entry
private void init ()
public org.apache.commons.net.ftp.FTPFile[] getFiles ()
public org.apache.commons.net.ftp.FTPFile[] getNext (int)
int i
int e
int quantityRequested
int max
int howMany
org.apache.commons.net.ftp.FTPFile[] output
public boolean hasNext ()
int fge
public org.apache.commons.net.ftp.FTPFile next ()
org.apache.commons.net.ftp.FTPFile[] file
public org.apache.commons.net.ftp.FTPFile[] getPrevious (int)
int i
int e
int quantityRequested
int howMany
org.apache.commons.net.ftp.FTPFile[] output
public boolean hasPrevious ()
int fge
public org.apache.commons.net.ftp.FTPFile previous ()
org.apache.commons.net.ftp.FTPFile[] file
static void ()
}
org/apache/commons/net/ftp/FTPFileList.classFTPFileList.java
package org.apache.commons.net.ftp
public org.apache.commons.net.ftp.FTPFileList extends java.lang.Object {
private java.util.LinkedList lines
private org.apache.commons.net.ftp.FTPFileEntryParser parser
private static final int EMPTY_DIR
private void (org.apache.commons.net.ftp.FTPFileEntryParser, java.lang.String)
org.apache.commons.net.ftp.FTPFileEntryParser parser
String encoding
public static org.apache.commons.net.ftp.FTPFileList create (java.io.InputStream, org.apache.commons.net.ftp.FTPFileEntryParser, java.lang.String) throws java.io.IOException
java.io.InputStream stream
org.apache.commons.net.ftp.FTPFileEntryParser parser
String encoding
org.apache.commons.net.ftp.FTPFileList list
public static org.apache.commons.net.ftp.FTPFileList create (java.io.InputStream, org.apache.commons.net.ftp.FTPFileEntryParser) throws java.io.IOException
java.io.InputStream stream
org.apache.commons.net.ftp.FTPFileEntryParser parser
public void readStream (java.io.InputStream, java.lang.String) throws java.io.IOException
java.io.InputStream stream
String encoding
java.io.BufferedReader reader
String line
public void readStream (java.io.InputStream) throws java.io.IOException
java.io.InputStream stream
org.apache.commons.net.ftp.FTPFileEntryParser getParser ()
java.util.List getLines ()
public org.apache.commons.net.ftp.FTPFileIterator iterator ()
public org.apache.commons.net.ftp.FTPFileIterator iterator (org.apache.commons.net.ftp.FTPFileEntryParser)
org.apache.commons.net.ftp.FTPFileEntryParser parser
public org.apache.commons.net.ftp.FTPFile[] getFiles ()
}
org/apache/commons/net/ftp/FTPReply.classFTPReply.java
package org.apache.commons.net.ftp
public final org.apache.commons.net.ftp.FTPReply extends java.lang.Object {
public static final int CODE_110
public static final int CODE_120
public static final int CODE_125
public static final int CODE_150
public static final int CODE_200
public static final int CODE_202
public static final int CODE_211
public static final int CODE_212
public static final int CODE_213
public static final int CODE_214
public static final int CODE_215
public static final int CODE_220
public static final int CODE_221
public static final int CODE_225
public static final int CODE_226
public static final int CODE_227
public static final int CODE_230
public static final int CODE_250
public static final int CODE_257
public static final int CODE_331
public static final int CODE_332
public static final int CODE_350
public static final int CODE_421
public static final int CODE_425
public static final int CODE_426
public static final int CODE_450
public static final int CODE_451
public static final int CODE_452
public static final int CODE_500
public static final int CODE_501
public static final int CODE_502
public static final int CODE_503
public static final int CODE_504
public static final int CODE_521
public static final int CODE_530
public static final int CODE_532
public static final int CODE_550
public static final int CODE_551
public static final int CODE_552
public static final int CODE_553
public static final int RESTART_MARKER
public static final int SERVICE_NOT_READY
public static final int DATA_CONNECTION_ALREADY_OPEN
public static final int FILE_STATUS_OK
public static final int COMMAND_OK
public static final int COMMAND_IS_SUPERFLUOUS
public static final int SYSTEM_STATUS
public static final int DIRECTORY_STATUS
public static final int FILE_STATUS
public static final int HELP_MESSAGE
public static final int NAME_SYSTEM_TYPE
public static final int SERVICE_READY
public static final int SERVICE_CLOSING_CONTROL_CONNECTION
public static final int DATA_CONNECTION_OPEN
public static final int CLOSING_DATA_CONNECTION
public static final int ENTERING_PASSIVE_MODE
public static final int USER_LOGGED_IN
public static final int FILE_ACTION_OK
public static final int PATHNAME_CREATED
public static final int NEED_PASSWORD
public static final int NEED_ACCOUNT
public static final int FILE_ACTION_PENDING
public static final int SERVICE_NOT_AVAILABLE
public static final int CANNOT_OPEN_DATA_CONNECTION
public static final int TRANSFER_ABORTED
public static final int FILE_ACTION_NOT_TAKEN
public static final int ACTION_ABORTED
public static final int INSUFFICIENT_STORAGE
public static final int UNRECOGNIZED_COMMAND
public static final int SYNTAX_ERROR_IN_ARGUMENTS
public static final int COMMAND_NOT_IMPLEMENTED
public static final int BAD_COMMAND_SEQUENCE
public static final int COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER
public static final int NOT_LOGGED_IN
public static final int NEED_ACCOUNT_FOR_STORING_FILES
public static final int FILE_UNAVAILABLE
public static final int PAGE_TYPE_UNKNOWN
public static final int STORAGE_ALLOCATION_EXCEEDED
public static final int FILE_NAME_NOT_ALLOWED
private void ()
public static boolean isPositivePreliminary (int)
int reply
public static boolean isPositiveCompletion (int)
int reply
public static boolean isPositiveIntermediate (int)
int reply
public static boolean isNegativeTransient (int)
int reply
public static boolean isNegativePermanent (int)
int reply
}
org/apache/commons/net/ftp/FTPConnectionClosedException.classFTPConnectionClosedException.java
package org.apache.commons.net.ftp
public org.apache.commons.net.ftp.FTPConnectionClosedException extends java.io.IOException {
public void ()
public void (java.lang.String)
String message
}
org/apache/commons/net/ftp/DefaultFTPFileListParser.classDefaultFTPFileListParser.java
package org.apache.commons.net.ftp
public final org.apache.commons.net.ftp.DefaultFTPFileListParser extends org.apache.commons.net.ftp.parser.UnixFTPEntryParser {
public void ()
}
org/apache/commons/net/ftp/FTP.classFTP.java
package org.apache.commons.net.ftp
public org.apache.commons.net.ftp.FTP extends org.apache.commons.net.telnet.TelnetClient {
public static final int DEFAULT_DATA_PORT
public static final int DEFAULT_PORT
public static final int ASCII_FILE_TYPE
public static final int EBCDIC_FILE_TYPE
public static final int IMAGE_FILE_TYPE
public static final int BINARY_FILE_TYPE
public static final int LOCAL_FILE_TYPE
public static final int NON_PRINT_TEXT_FORMAT
public static final int TELNET_TEXT_FORMAT
public static final int CARRIAGE_CONTROL_TEXT_FORMAT
public static final int FILE_STRUCTURE
public static final int RECORD_STRUCTURE
public static final int PAGE_STRUCTURE
public static final int STREAM_TRANSFER_MODE
public static final int BLOCK_TRANSFER_MODE
public static final int COMPRESSED_TRANSFER_MODE
public static final String DEFAULT_CONTROL_ENCODING
private static final String __modes
private StringBuffer __commandBuffer
java.io.BufferedReader _controlInput
java.io.BufferedWriter _controlOutput
int _replyCode
java.util.Vector _replyLines
boolean _newReplyString
String _replyString
String _controlEncoding
protected org.apache.commons.net.ProtocolCommandSupport _commandSupport_
public void ()
private void __getReply () throws java.io.IOException
String code
NumberFormatException e
int length
String line
protected void _connectAction_ () throws java.io.IOException
public void setControlEncoding (java.lang.String)
String encoding
public java.lang.String getControlEncoding ()
public void addProtocolCommandListener (org.apache.commons.net.ProtocolCommandListener)
org.apache.commons.net.ProtocolCommandListener listener
public void removeProtocolCommandListener (org.apache.commons.net.ProtocolCommandListener)
org.apache.commons.net.ProtocolCommandListener listener
public void disconnect () throws java.io.IOException
public int sendCommand (java.lang.String, java.lang.String) throws java.io.IOException
String message
java.net.SocketException e
String command
String args
String message
private boolean socketIsConnected (java.net.Socket)
java.lang.reflect.Method isConnected
NoSuchMethodException e
IllegalAccessException e
java.lang.reflect.InvocationTargetException e
java.net.Socket socket
public int sendCommand (int, java.lang.String) throws java.io.IOException
int command
String args
public int sendCommand (java.lang.String) throws java.io.IOException
String command
public int sendCommand (int) throws java.io.IOException
int command
public int getReplyCode ()
public int getReply () throws java.io.IOException
public java.lang.String[] getReplyStrings ()
String[] lines
public java.lang.String getReplyString ()
java.util.Enumeration en
StringBuffer buffer
public int user (java.lang.String) throws java.io.IOException
String username
public int pass (java.lang.String) throws java.io.IOException
String password
public int acct (java.lang.String) throws java.io.IOException
String account
public int abor () throws java.io.IOException
public int cwd (java.lang.String) throws java.io.IOException
String directory
public int cdup () throws java.io.IOException
public int quit () throws java.io.IOException
public int rein () throws java.io.IOException
public int smnt (java.lang.String) throws java.io.IOException
String dir
public int port (java.net.InetAddress, int) throws java.io.IOException
java.net.InetAddress host
int port
int num
StringBuffer info
public int pasv () throws java.io.IOException
public int type (int, int) throws java.io.IOException
int fileType
int formatOrByteSize
StringBuffer arg
public int type (int) throws java.io.IOException
int fileType
public int stru (int) throws java.io.IOException
int structure
public int mode (int) throws java.io.IOException
int mode
public int retr (java.lang.String) throws java.io.IOException
String pathname
public int stor (java.lang.String) throws java.io.IOException
String pathname
public int stou () throws java.io.IOException
public int stou (java.lang.String) throws java.io.IOException
String pathname
public int appe (java.lang.String) throws java.io.IOException
String pathname
public int allo (int) throws java.io.IOException
int bytes
public int allo (int, int) throws java.io.IOException
int bytes
int recordSize
public int rest (java.lang.String) throws java.io.IOException
String marker
public int rnfr (java.lang.String) throws java.io.IOException
String pathname
public int rnto (java.lang.String) throws java.io.IOException
String pathname
public int dele (java.lang.String) throws java.io.IOException
String pathname
public int rmd (java.lang.String) throws java.io.IOException
String pathname
public int mkd (java.lang.String) throws java.io.IOException
String pathname
public int pwd () throws java.io.IOException
public int list () throws java.io.IOException
public int list (java.lang.String) throws java.io.IOException
String pathname
public int nlst () throws java.io.IOException
public int nlst (java.lang.String) throws java.io.IOException
String pathname
public int site (java.lang.String) throws java.io.IOException
String parameters
public int syst () throws java.io.IOException
public int stat () throws java.io.IOException
public int stat (java.lang.String) throws java.io.IOException
String pathname
public int help () throws java.io.IOException
public int help (java.lang.String) throws java.io.IOException
String command
public int noop () throws java.io.IOException
}
org/apache/commons/net/ftp/FTPFileListParserImpl.classFTPFileListParserImpl.java
package org.apache.commons.net.ftp
public abstract org.apache.commons.net.ftp.FTPFileListParserImpl extends org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl {
public void (java.lang.String)
String regex
}
org/apache/commons/net/ftp/FTPCommand.classFTPCommand.java
package org.apache.commons.net.ftp
public final org.apache.commons.net.ftp.FTPCommand extends java.lang.Object {
public static final int USER
public static final int PASS
public static final int ACCT
public static final int CWD
public static final int CDUP
public static final int SMNT
public static final int REIN
public static final int QUIT
public static final int PORT
public static final int PASV
public static final int TYPE
public static final int STRU
public static final int MODE
public static final int RETR
public static final int STOR
public static final int STOU
public static final int APPE
public static final int ALLO
public static final int REST
public static final int RNFR
public static final int RNTO
public static final int ABOR
public static final int DELE
public static final int RMD
public static final int MKD
public static final int PWD
public static final int LIST
public static final int NLST
public static final int SITE
public static final int SYST
public static final int STAT
public static final int HELP
public static final int NOOP
public static final int USERNAME
public static final int PASSWORD
public static final int ACCOUNT
public static final int CHANGE_WORKING_DIRECTORY
public static final int CHANGE_TO_PARENT_DIRECTORY
public static final int STRUCTURE_MOUNT
public static final int REINITIALIZE
public static final int LOGOUT
public static final int DATA_PORT
public static final int PASSIVE
public static final int REPRESENTATION_TYPE
public static final int FILE_STRUCTURE
public static final int TRANSFER_MODE
public static final int RETRIEVE
public static final int STORE
public static final int STORE_UNIQUE
public static final int APPEND
public static final int ALLOCATE
public static final int RESTART
public static final int RENAME_FROM
public static final int RENAME_TO
public static final int ABORT
public static final int DELETE
public static final int REMOVE_DIRECTORY
public static final int MAKE_DIRECTORY
public static final int PRINT_WORKING_DIRECTORY
public static final int NAME_LIST
public static final int SITE_PARAMETERS
public static final int SYSTEM
public static final int STATUS
static final String[] _commands
private void ()
public static final java.lang.String getCommand (int)
int command
static void ()
}
org/apache/commons/net/ftp/FTPClient.classFTPClient.java
package org.apache.commons.net.ftp
public org.apache.commons.net.ftp.FTPClient extends org.apache.commons.net.ftp.FTP implements org.apache.commons.net.ftp.Configurable {
public static final int ACTIVE_LOCAL_DATA_CONNECTION_MODE
public static final int ACTIVE_REMOTE_DATA_CONNECTION_MODE
public static final int PASSIVE_LOCAL_DATA_CONNECTION_MODE
public static final int PASSIVE_REMOTE_DATA_CONNECTION_MODE
private int __dataConnectionMode
private int __dataTimeout
private int __passivePort
private String __passiveHost
private int __fileType
private int __fileFormat
private int __fileStructure
private int __fileTransferMode
private boolean __remoteVerificationEnabled
private long __restartOffset
private org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory __parserFactory
private int __bufferSize
private String __systemName
private org.apache.commons.net.ftp.FTPFileEntryParser __entryParser
private org.apache.commons.net.ftp.FTPClientConfig __configuration
public void ()
private void __initDefaults ()
private java.lang.String __parsePathname (java.lang.String)
String reply
int begin
int end
private void __parsePassiveModeReply (java.lang.String) throws org.apache.commons.net.MalformedServerReplyException
NumberFormatException e
String reply
int i
int index
int lastIndex
String octet1
String octet2
StringBuffer host
private boolean __storeFile (int, java.lang.String, java.io.InputStream) throws java.io.IOException
java.io.IOException f
java.io.IOException e
int command
String remote
java.io.InputStream local
java.io.OutputStream output
java.net.Socket socket
private java.io.OutputStream __storeFileStream (int, java.lang.String) throws java.io.IOException
int command
String remote
java.io.OutputStream output
java.net.Socket socket
protected java.net.Socket _openDataConnection_ (int, java.lang.String) throws java.io.IOException
java.net.ServerSocket server
java.net.Socket socket
java.net.InetAddress host1
java.net.InetAddress host2
int command
String arg
java.net.Socket socket
protected void _connectAction_ () throws java.io.IOException
public void setDataTimeout (int)
int timeout
public void setParserFactory (org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory)
org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory parserFactory
public void disconnect () throws java.io.IOException
public void setRemoteVerificationEnabled (boolean)
boolean enable
public boolean isRemoteVerificationEnabled ()
public boolean login (java.lang.String, java.lang.String) throws java.io.IOException
String username
String password
public boolean login (java.lang.String, java.lang.String, java.lang.String) throws java.io.IOException
String username
String password
String account
public boolean logout () throws java.io.IOException
public boolean changeWorkingDirectory (java.lang.String) throws java.io.IOException
String pathname
public boolean changeToParentDirectory () throws java.io.IOException
public boolean structureMount (java.lang.String) throws java.io.IOException
String pathname
boolean reinitialize () throws java.io.IOException
public void enterLocalActiveMode ()
public void enterLocalPassiveMode ()
public boolean enterRemoteActiveMode (java.net.InetAddress, int) throws java.io.IOException
java.net.InetAddress host
int port
public boolean enterRemotePassiveMode () throws java.io.IOException
public java.lang.String getPassiveHost ()
public int getPassivePort ()
public int getDataConnectionMode ()
public boolean setFileType (int) throws java.io.IOException
int fileType
public boolean setFileType (int, int) throws java.io.IOException
int fileType
int formatOrByteSize
public boolean setFileStructure (int) throws java.io.IOException
int structure
public boolean setFileTransferMode (int) throws java.io.IOException
int mode
public boolean remoteRetrieve (java.lang.String) throws java.io.IOException
String filename
public boolean remoteStore (java.lang.String) throws java.io.IOException
String filename
public boolean remoteStoreUnique (java.lang.String) throws java.io.IOException
String filename
public boolean remoteStoreUnique () throws java.io.IOException
public boolean remoteAppend (java.lang.String) throws java.io.IOException
String filename
public boolean completePendingCommand () throws java.io.IOException
public boolean retrieveFile (java.lang.String, java.io.OutputStream) throws java.io.IOException
java.io.IOException f
java.io.IOException e
String remote
java.io.OutputStream local
java.io.InputStream input
java.net.Socket socket
public java.io.InputStream retrieveFileStream (java.lang.String) throws java.io.IOException
String remote
java.io.InputStream input
java.net.Socket socket
public boolean storeFile (java.lang.String, java.io.InputStream) throws java.io.IOException
String remote
java.io.InputStream local
public java.io.OutputStream storeFileStream (java.lang.String) throws java.io.IOException
String remote
public boolean appendFile (java.lang.String, java.io.InputStream) throws java.io.IOException
String remote
java.io.InputStream local
public java.io.OutputStream appendFileStream (java.lang.String) throws java.io.IOException
String remote
public boolean storeUniqueFile (java.lang.String, java.io.InputStream) throws java.io.IOException
String remote
java.io.InputStream local
public java.io.OutputStream storeUniqueFileStream (java.lang.String) throws java.io.IOException
String remote
public boolean storeUniqueFile (java.io.InputStream) throws java.io.IOException
java.io.InputStream local
public java.io.OutputStream storeUniqueFileStream () throws java.io.IOException
public boolean allocate (int) throws java.io.IOException
int bytes
public boolean allocate (int, int) throws java.io.IOException
int bytes
int recordSize
private boolean restart (long) throws java.io.IOException
long offset
public void setRestartOffset (long)
long offset
public long getRestartOffset ()
public boolean rename (java.lang.String, java.lang.String) throws java.io.IOException
String from
String to
public boolean abort () throws java.io.IOException
public boolean deleteFile (java.lang.String) throws java.io.IOException
String pathname
public boolean removeDirectory (java.lang.String) throws java.io.IOException
String pathname
public boolean makeDirectory (java.lang.String) throws java.io.IOException
String pathname
public java.lang.String printWorkingDirectory () throws java.io.IOException
public boolean sendSiteCommand (java.lang.String) throws java.io.IOException
String arguments
public java.lang.String getSystemName () throws java.io.IOException
public java.lang.String listHelp () throws java.io.IOException
public java.lang.String listHelp (java.lang.String) throws java.io.IOException
String command
public boolean sendNoOp () throws java.io.IOException
public java.lang.String[] listNames (java.lang.String) throws java.io.IOException
String[] result
String pathname
String line
java.net.Socket socket
java.io.BufferedReader reader
java.util.Vector results
public java.lang.String[] listNames () throws java.io.IOException
public org.apache.commons.net.ftp.FTPFile[] listFiles (java.lang.String, java.lang.String) throws java.io.IOException
String parserKey
String pathname
org.apache.commons.net.ftp.FTPListParseEngine engine
public org.apache.commons.net.ftp.FTPFile[] listFiles (java.lang.String) throws java.io.IOException
String pathname
String key
org.apache.commons.net.ftp.FTPListParseEngine engine
public org.apache.commons.net.ftp.FTPFile[] listFiles () throws java.io.IOException
public org.apache.commons.net.ftp.FTPListParseEngine initiateListParsing () throws java.io.IOException
public org.apache.commons.net.ftp.FTPListParseEngine initiateListParsing (java.lang.String) throws java.io.IOException
String pathname
String key
public org.apache.commons.net.ftp.FTPListParseEngine initiateListParsing (java.lang.String, java.lang.String) throws java.io.IOException
String parserKey
String pathname
private org.apache.commons.net.ftp.FTPListParseEngine initiateListParsing (org.apache.commons.net.ftp.FTPFileEntryParser, java.lang.String) throws java.io.IOException
org.apache.commons.net.ftp.FTPFileEntryParser parser
String pathname
java.net.Socket socket
org.apache.commons.net.ftp.FTPListParseEngine engine
public java.lang.String getStatus () throws java.io.IOException
public java.lang.String getStatus (java.lang.String) throws java.io.IOException
String pathname
public org.apache.commons.net.ftp.FTPFile[] listFiles (org.apache.commons.net.ftp.FTPFileListParser, java.lang.String) throws java.io.IOException
org.apache.commons.net.ftp.FTPFileListParser parser
String pathname
java.net.Socket socket
org.apache.commons.net.ftp.FTPFile[] results
public org.apache.commons.net.ftp.FTPFile[] listFiles (org.apache.commons.net.ftp.FTPFileListParser) throws java.io.IOException
org.apache.commons.net.ftp.FTPFileListParser parser
public org.apache.commons.net.ftp.FTPFileList createFileList (org.apache.commons.net.ftp.FTPFileEntryParser) throws java.io.IOException
org.apache.commons.net.ftp.FTPFileEntryParser parser
public org.apache.commons.net.ftp.FTPFileList createFileList (java.lang.String, org.apache.commons.net.ftp.FTPFileEntryParser) throws java.io.IOException
String pathname
org.apache.commons.net.ftp.FTPFileEntryParser parser
java.net.Socket socket
org.apache.commons.net.ftp.FTPFileList list
public void setBufferSize (int)
int bufSize
public int getBufferSize ()
public void configure (org.apache.commons.net.ftp.FTPClientConfig)
org.apache.commons.net.ftp.FTPClientConfig config
}
org/apache/commons/net/telnet/TelnetClient.classTelnetClient.java
package org.apache.commons.net.telnet
public org.apache.commons.net.telnet.TelnetClient extends org.apache.commons.net.telnet.Telnet {
private java.io.InputStream __input
private java.io.OutputStream __output
protected boolean readerThread
public void ()
public void (java.lang.String)
String termtype
void _flushOutputStream () throws java.io.IOException
void _closeOutputStream () throws java.io.IOException
protected void _connectAction_ () throws java.io.IOException
java.io.InputStream input
java.io.InputStream input
org.apache.commons.net.telnet.TelnetInputStream tmp
public void disconnect () throws java.io.IOException
public java.io.OutputStream getOutputStream ()
public java.io.InputStream getInputStream ()
public boolean getLocalOptionState (int)
int option
public boolean getRemoteOptionState (int)
int option
public boolean sendAYT (long) throws java.io.IOException java.lang.IllegalArgumentException java.lang.InterruptedException
long timeout
public void addOptionHandler (org.apache.commons.net.telnet.TelnetOptionHandler) throws org.apache.commons.net.telnet.InvalidTelnetOptionException
org.apache.commons.net.telnet.TelnetOptionHandler opthand
public void deleteOptionHandler (int) throws org.apache.commons.net.telnet.InvalidTelnetOptionException
int optcode
public void registerSpyStream (java.io.OutputStream)
java.io.OutputStream spystream
public void stopSpyStream ()
public void registerNotifHandler (org.apache.commons.net.telnet.TelnetNotificationHandler)
org.apache.commons.net.telnet.TelnetNotificationHandler notifhand
public void unregisterNotifHandler ()
public void setReaderThread (boolean)
boolean flag
public boolean getReaderThread ()
}
org/apache/commons/net/telnet/Telnet.classTelnet.java
package org.apache.commons.net.telnet
org.apache.commons.net.telnet.Telnet extends org.apache.commons.net.SocketClient {
static final boolean debug
static final boolean debugoptions
static final byte[] _COMMAND_DO
static final byte[] _COMMAND_DONT
static final byte[] _COMMAND_WILL
static final byte[] _COMMAND_WONT
static final byte[] _COMMAND_SB
static final byte[] _COMMAND_SE
static final int _WILL_MASK
static final int _DO_MASK
static final int _REQUESTED_WILL_MASK
static final int _REQUESTED_DO_MASK
static final int DEFAULT_PORT
int[] _doResponse
int[] _willResponse
int[] _options
protected static final int TERMINAL_TYPE
protected static final int TERMINAL_TYPE_SEND
protected static final int TERMINAL_TYPE_IS
static final byte[] _COMMAND_IS
private String terminalType
private org.apache.commons.net.telnet.TelnetOptionHandler[] optionHandlers
static final byte[] _COMMAND_AYT
private Object aytMonitor
private boolean aytFlag
private java.io.OutputStream spyStream
private org.apache.commons.net.telnet.TelnetNotificationHandler __notifhand
void ()
void (java.lang.String)
String termtype
boolean _stateIsWill (int)
int option
boolean _stateIsWont (int)
int option
boolean _stateIsDo (int)
int option
boolean _stateIsDont (int)
int option
boolean _requestedWill (int)
int option
boolean _requestedWont (int)
int option
boolean _requestedDo (int)
int option
boolean _requestedDont (int)
int option
void _setWill (int)
Exception e
int[] subneg
int option
void _setDo (int)
Exception e
int[] subneg
int option
void _setWantWill (int)
int option
void _setWantDo (int)
int option
void _setWont (int)
int option
void _setDont (int)
int option
void _setWantWont (int)
int option
void _setWantDont (int)
int option
void _processDo (int) throws java.io.IOException
int option
boolean acceptNewState
void _processDont (int) throws java.io.IOException
int option
void _processWill (int) throws java.io.IOException
int option
boolean acceptNewState
void _processWont (int) throws java.io.IOException
int option
void _processSuboption (int[], int) throws java.io.IOException
int[] responseSuboption
int[] suboption
int suboptionLength
final synchronized void _sendTerminalType () throws java.io.IOException
final synchronized void _sendSubnegotiation (int[]) throws java.io.IOException
int ii
byte[] byteresp
int[] subn
final synchronized void _processAYTResponse ()
Exception e
protected void _connectAction_ () throws java.io.IOException
int ii
java.io.IOException e
java.io.IOException e
int ii
final synchronized void _sendDo (int) throws java.io.IOException
int option
final synchronized void _requestDo (int) throws java.io.IOException
int option
final synchronized void _sendDont (int) throws java.io.IOException
int option
final synchronized void _requestDont (int) throws java.io.IOException
int option
final synchronized void _sendWill (int) throws java.io.IOException
int option
final synchronized void _requestWill (int) throws java.io.IOException
int option
final synchronized void _sendWont (int) throws java.io.IOException
int option
final synchronized void _requestWont (int) throws java.io.IOException
int option
final synchronized void _sendByte (int) throws java.io.IOException
int b
final boolean _sendAYT (long) throws java.io.IOException java.lang.IllegalArgumentException java.lang.InterruptedException
IllegalMonitorStateException e
long timeout
boolean retValue
void addOptionHandler (org.apache.commons.net.telnet.TelnetOptionHandler) throws org.apache.commons.net.telnet.InvalidTelnetOptionException
java.io.IOException e
java.io.IOException e
org.apache.commons.net.telnet.TelnetOptionHandler opthand
int optcode
void deleteOptionHandler (int) throws org.apache.commons.net.telnet.InvalidTelnetOptionException
java.io.IOException e
java.io.IOException e
org.apache.commons.net.telnet.TelnetOptionHandler opthand
int optcode
void _registerSpyStream (java.io.OutputStream)
java.io.OutputStream spystream
void _stopSpyStream ()
void _spyRead (int)
Exception e
int ch
void _spyWrite (int)
Exception e
int ch
public void registerNotifHandler (org.apache.commons.net.telnet.TelnetNotificationHandler)
org.apache.commons.net.telnet.TelnetNotificationHandler notifhand
public void unregisterNotifHandler ()
static void ()
}
org/apache/commons/net/telnet/TelnetOptionHandler.classTelnetOptionHandler.java
package org.apache.commons.net.telnet
public abstract org.apache.commons.net.telnet.TelnetOptionHandler extends java.lang.Object {
private int optionCode
private boolean initialLocal
private boolean initialRemote
private boolean acceptLocal
private boolean acceptRemote
private boolean doFlag
private boolean willFlag
public void (int, boolean, boolean, boolean, boolean)
int optcode
boolean initlocal
boolean initremote
boolean acceptlocal
boolean acceptremote
public int getOptionCode ()
public boolean getAcceptLocal ()
public boolean getAcceptRemote ()
public void setAcceptLocal (boolean)
boolean accept
public void setAcceptRemote (boolean)
boolean accept
public boolean getInitLocal ()
public boolean getInitRemote ()
public void setInitLocal (boolean)
boolean init
public void setInitRemote (boolean)
boolean init
public abstract int[] answerSubnegotiation (int[], int)
public abstract int[] startSubnegotiationLocal ()
public abstract int[] startSubnegotiationRemote ()
boolean getWill ()
void setWill (boolean)
boolean state
boolean getDo ()
void setDo (boolean)
boolean state
}
org/apache/commons/net/telnet/InvalidTelnetOptionException.classInvalidTelnetOptionException.java
package org.apache.commons.net.telnet
public org.apache.commons.net.telnet.InvalidTelnetOptionException extends java.lang.Exception {
private int optionCode
private String msg
public void (java.lang.String, int)
String message
int optcode
public java.lang.String getMessage ()
}
org/apache/commons/net/telnet/TelnetNotificationHandler.classTelnetNotificationHandler.java
package org.apache.commons.net.telnet
public abstract org.apache.commons.net.telnet.TelnetNotificationHandler extends java.lang.Object {
public static final int RECEIVED_DO
public static final int RECEIVED_DONT
public static final int RECEIVED_WILL
public static final int RECEIVED_WONT
public abstract void receivedNegotiation (int, int)
}
org/apache/commons/net/telnet/SuppressGAOptionHandler.classSuppressGAOptionHandler.java
package org.apache.commons.net.telnet
public org.apache.commons.net.telnet.SuppressGAOptionHandler extends org.apache.commons.net.telnet.TelnetOptionHandler {
public void (boolean, boolean, boolean, boolean)
boolean initlocal
boolean initremote
boolean acceptlocal
boolean acceptremote
public void ()
public int[] answerSubnegotiation (int[], int)
int[] suboptionData
int suboptionLength
public int[] startSubnegotiationLocal ()
public int[] startSubnegotiationRemote ()
}
org/apache/commons/net/telnet/SimpleOptionHandler.classSimpleOptionHandler.java
package org.apache.commons.net.telnet
public org.apache.commons.net.telnet.SimpleOptionHandler extends org.apache.commons.net.telnet.TelnetOptionHandler {
public void (int, boolean, boolean, boolean, boolean)
int optcode
boolean initlocal
boolean initremote
boolean acceptlocal
boolean acceptremote
public void (int)
int optcode
public int[] answerSubnegotiation (int[], int)
int[] suboptionData
int suboptionLength
public int[] startSubnegotiationLocal ()
public int[] startSubnegotiationRemote ()
}
org/apache/commons/net/telnet/EchoOptionHandler.classEchoOptionHandler.java
package org.apache.commons.net.telnet
public org.apache.commons.net.telnet.EchoOptionHandler extends org.apache.commons.net.telnet.TelnetOptionHandler {
public void (boolean, boolean, boolean, boolean)
boolean initlocal
boolean initremote
boolean acceptlocal
boolean acceptremote
public void ()
public int[] answerSubnegotiation (int[], int)
int[] suboptionData
int suboptionLength
public int[] startSubnegotiationLocal ()
public int[] startSubnegotiationRemote ()
}
org/apache/commons/net/telnet/TelnetOption.classTelnetOption.java
package org.apache.commons.net.telnet
public org.apache.commons.net.telnet.TelnetOption extends java.lang.Object {
public static final int MAX_OPTION_VALUE
public static int BINARY
public static int ECHO
public static int PREPARE_TO_RECONNECT
public static int SUPPRESS_GO_AHEAD
public static int APPROXIMATE_MESSAGE_SIZE
public static int STATUS
public static int TIMING_MARK
public static int REMOTE_CONTROLLED_TRANSMISSION
public static int NEGOTIATE_OUTPUT_LINE_WIDTH
public static int NEGOTIATE_OUTPUT_PAGE_SIZE
public static int NEGOTIATE_CARRIAGE_RETURN
public static int NEGOTIATE_HORIZONTAL_TAB_STOP
public static int NEGOTIATE_HORIZONTAL_TAB
public static int NEGOTIATE_FORMFEED
public static int NEGOTIATE_VERTICAL_TAB_STOP
public static int NEGOTIATE_VERTICAL_TAB
public static int NEGOTIATE_LINEFEED
public static int EXTENDED_ASCII
public static int FORCE_LOGOUT
public static int BYTE_MACRO
public static int DATA_ENTRY_TERMINAL
public static int SUPDUP
public static int SUPDUP_OUTPUT
public static int SEND_LOCATION
public static int TERMINAL_TYPE
public static int END_OF_RECORD
public static int TACACS_USER_IDENTIFICATION
public static int OUTPUT_MARKING
public static int TERMINAL_LOCATION_NUMBER
public static int REGIME_3270
public static int X3_PAD
public static int WINDOW_SIZE
public static int TERMINAL_SPEED
public static int REMOTE_FLOW_CONTROL
public static int LINEMODE
public static int X_DISPLAY_LOCATION
public static int OLD_ENVIRONMENT_VARIABLES
public static int AUTHENTICATION
public static int ENCRYPTION
public static int NEW_ENVIRONMENT_VARIABLES
public static int EXTENDED_OPTIONS_LIST
private static int __FIRST_OPTION
private static int __LAST_OPTION
private static final String[] __optionString
public static final java.lang.String getOption (int)
int code
public static final boolean isValidOption (int)
int code
private void ()
static void ()
}
org/apache/commons/net/telnet/TerminalTypeOptionHandler.classTerminalTypeOptionHandler.java
package org.apache.commons.net.telnet
public org.apache.commons.net.telnet.TerminalTypeOptionHandler extends org.apache.commons.net.telnet.TelnetOptionHandler {
private String termType
protected static final int TERMINAL_TYPE
protected static final int TERMINAL_TYPE_SEND
protected static final int TERMINAL_TYPE_IS
public void (java.lang.String, boolean, boolean, boolean, boolean)
String termtype
boolean initlocal
boolean initremote
boolean acceptlocal
boolean acceptremote
public void (java.lang.String)
String termtype
public int[] answerSubnegotiation (int[], int)
int ii
int[] response
int[] suboptionData
int suboptionLength
public int[] startSubnegotiationLocal ()
public int[] startSubnegotiationRemote ()
}
org/apache/commons/net/telnet/TelnetInputStream.classTelnetInputStream.java
package org.apache.commons.net.telnet
final org.apache.commons.net.telnet.TelnetInputStream extends java.io.BufferedInputStream implements java.lang.Runnable {
static final int _STATE_DATA
static final int _STATE_IAC
static final int _STATE_WILL
static final int _STATE_WONT
static final int _STATE_DO
static final int _STATE_DONT
static final int _STATE_SB
static final int _STATE_SE
static final int _STATE_CR
static final int _STATE_IAC_SB
private boolean __hasReachedEOF
private boolean __isClosed
private boolean __readIsWaiting
private int __receiveState
private int __queueHead
private int __queueTail
private int __bytesAvailable
private int[] __queue
private org.apache.commons.net.telnet.TelnetClient __client
private Thread __thread
private java.io.IOException __ioException
private int[] __suboption
private int __suboption_count
private boolean __threaded
void (java.io.InputStream, org.apache.commons.net.telnet.TelnetClient, boolean)
java.io.InputStream input
org.apache.commons.net.telnet.TelnetClient client
boolean readerThread
void (java.io.InputStream, org.apache.commons.net.telnet.TelnetClient)
java.io.InputStream input
org.apache.commons.net.telnet.TelnetClient client
void _start ()
int priority
private int __read () throws java.io.IOException
int ch
private void __processChar (int) throws java.lang.InterruptedException
InterruptedException e
int ch
public int read () throws java.io.IOException
java.io.IOException e
InterruptedException e
int ch
InterruptedException interrupted
java.io.InterruptedIOException e
InterruptedException e
int ch
int ch
public int read (byte[]) throws java.io.IOException
byte[] buffer
public int read (byte[], int, int) throws java.io.IOException
byte[] buffer
int offset
int length
int ch
int off
public boolean markSupported ()
public int available () throws java.io.IOException
public void close () throws java.io.IOException
public void run ()
int ch
InterruptedException interrupted
java.io.InterruptedIOException e
RuntimeException re
InterruptedException e
int ch
java.io.IOException ioe
}
org/apache/commons/net/telnet/TelnetOutputStream.classTelnetOutputStream.java
package org.apache.commons.net.telnet
final org.apache.commons.net.telnet.TelnetOutputStream extends java.io.OutputStream {
private org.apache.commons.net.telnet.TelnetClient __client
private boolean __convertCRtoCRLF
private boolean __lastWasCR
void (org.apache.commons.net.telnet.TelnetClient)
org.apache.commons.net.telnet.TelnetClient client
public void write (int) throws java.io.IOException
int ch
public void write (byte[]) throws java.io.IOException
byte[] buffer
public void write (byte[], int, int) throws java.io.IOException
byte[] buffer
int offset
int length
public void flush () throws java.io.IOException
public void close () throws java.io.IOException
}
org/apache/commons/net/telnet/TelnetCommand.classTelnetCommand.java
package org.apache.commons.net.telnet
public final org.apache.commons.net.telnet.TelnetCommand extends java.lang.Object {
public static final int MAX_COMMAND_VALUE
public static final int IAC
public static final int DONT
public static final int DO
public static final int WONT
public static final int WILL
public static final int SB
public static final int GA
public static final int EL
public static final int EC
public static final int AYT
public static final int AO
public static final int IP
public static final int BREAK
public static final int DM
public static final int NOP
public static final int SE
public static final int EOR
public static final int ABORT
public static final int SUSP
public static final int EOF
public static final int SYNCH
private static final String[] __commandString
private static final int __FIRST_COMMAND
private static final int __LAST_COMMAND
public static final java.lang.String getCommand (int)
int code
public static final boolean isValidCommand (int)
int code
private void ()
static void ()
}
org/apache/commons/net/ntp/NTPUDPClient.classNTPUDPClient.java
package org.apache.commons.net.ntp
public final org.apache.commons.net.ntp.NTPUDPClient extends org.apache.commons.net.DatagramSocketClient {
public static final int DEFAULT_PORT
private int _version
public void ()
public org.apache.commons.net.ntp.TimeInfo getTime (java.net.InetAddress, int) throws java.io.IOException
java.net.InetAddress host
int port
org.apache.commons.net.ntp.NtpV3Packet message
java.net.DatagramPacket sendPacket
org.apache.commons.net.ntp.NtpV3Packet recMessage
java.net.DatagramPacket receivePacket
org.apache.commons.net.ntp.TimeStamp now
long returnTime
org.apache.commons.net.ntp.TimeInfo info
public org.apache.commons.net.ntp.TimeInfo getTime (java.net.InetAddress) throws java.io.IOException
java.net.InetAddress host
public int getVersion ()
public void setVersion (int)
int version
}
org/apache/commons/net/ntp/TimeInfo.classTimeInfo.java
package org.apache.commons.net.ntp
public org.apache.commons.net.ntp.TimeInfo extends java.lang.Object {
private org.apache.commons.net.ntp.NtpV3Packet _message
private java.util.List _comments
private Long _delay
private Long _offset
private long _returnTime
private boolean _detailsComputed
public void (org.apache.commons.net.ntp.NtpV3Packet, long)
org.apache.commons.net.ntp.NtpV3Packet message
long returnTime
public void (org.apache.commons.net.ntp.NtpV3Packet, long, java.util.List)
org.apache.commons.net.ntp.NtpV3Packet message
long returnTime
java.util.List comments
public void (org.apache.commons.net.ntp.NtpV3Packet, long, boolean)
org.apache.commons.net.ntp.NtpV3Packet msgPacket
long returnTime
boolean doComputeDetails
public void (org.apache.commons.net.ntp.NtpV3Packet, long, java.util.List, boolean)
org.apache.commons.net.ntp.NtpV3Packet message
long returnTime
java.util.List comments
boolean doComputeDetails
public void addComment (java.lang.String)
String comment
public void computeDetails ()
long delta
long delayValue
org.apache.commons.net.ntp.TimeStamp origNtpTime
long origTime
org.apache.commons.net.ntp.TimeStamp rcvNtpTime
long rcvTime
org.apache.commons.net.ntp.TimeStamp xmitNtpTime
long xmitTime
public java.util.List getComments ()
public java.lang.Long getDelay ()
public java.lang.Long getOffset ()
public org.apache.commons.net.ntp.NtpV3Packet getMessage ()
public long getReturnTime ()
}
org/apache/commons/net/ntp/NtpV3Packet.classNtpV3Packet.java
package org.apache.commons.net.ntp
public abstract org.apache.commons.net.ntp.NtpV3Packet extends java.lang.Object {
public static final int NTP_PORT
public static final int LI_NO_WARNING
public static final int LI_LAST_MINUTE_HAS_61_SECONDS
public static final int LI_LAST_MINUTE_HAS_59_SECONDS
public static final int LI_ALARM_CONDITION
public static final int MODE_RESERVED
public static final int MODE_SYMMETRIC_ACTIVE
public static final int MODE_SYMMETRIC_PASSIVE
public static final int MODE_CLIENT
public static final int MODE_SERVER
public static final int MODE_BROADCAST
public static final int MODE_CONTROL_MESSAGE
public static final int MODE_PRIVATE
public static final int NTP_MINPOLL
public static final int NTP_MAXPOLL
public static final int NTP_MINCLOCK
public static final int NTP_MAXCLOCK
public static final int VERSION_3
public static final int VERSION_4
public static final String TYPE_NTP
public static final String TYPE_ICMP
public static final String TYPE_TIME
public static final String TYPE_DAYTIME
public abstract java.net.DatagramPacket getDatagramPacket ()
public abstract void setDatagramPacket (java.net.DatagramPacket)
public abstract int getLeapIndicator ()
public abstract void setLeapIndicator (int)
public abstract int getMode ()
public abstract java.lang.String getModeName ()
public abstract void setMode (int)
public abstract int getPoll ()
public abstract void setPoll (int)
public abstract int getPrecision ()
public abstract int getRootDelay ()
public abstract double getRootDelayInMillisDouble ()
public abstract int getRootDispersion ()
public abstract long getRootDispersionInMillis ()
public abstract double getRootDispersionInMillisDouble ()
public abstract int getVersion ()
public abstract void setVersion (int)
public abstract int getStratum ()
public abstract void setStratum (int)
public abstract java.lang.String getReferenceIdString ()
public abstract int getReferenceId ()
public abstract void setReferenceId (int)
public abstract org.apache.commons.net.ntp.TimeStamp getTransmitTimeStamp ()
public abstract org.apache.commons.net.ntp.TimeStamp getReferenceTimeStamp ()
public abstract org.apache.commons.net.ntp.TimeStamp getOriginateTimeStamp ()
public abstract org.apache.commons.net.ntp.TimeStamp getReceiveTimeStamp ()
public abstract void setTransmitTime (org.apache.commons.net.ntp.TimeStamp)
public abstract void setReferenceTime (org.apache.commons.net.ntp.TimeStamp)
public abstract void setOriginateTimeStamp (org.apache.commons.net.ntp.TimeStamp)
public abstract void setReceiveTimeStamp (org.apache.commons.net.ntp.TimeStamp)
public abstract java.lang.String getType ()
}
org/apache/commons/net/ntp/TimeStamp.classTimeStamp.java
package org.apache.commons.net.ntp
public org.apache.commons.net.ntp.TimeStamp extends java.lang.Object implements java.io.Serializable java.lang.Comparable {
protected static final long msb0baseTime
protected static final long msb1baseTime
public static final String NTP_DATE_FORMAT
private static java.lang.ref.SoftReference simpleFormatter
private static java.lang.ref.SoftReference utcFormatter
private long ntpTime
private static final long serialVersionUID
public void (long)
long ntpTime
public void (java.lang.String) throws java.lang.NumberFormatException
String s
public void (java.util.Date)
java.util.Date d
public long ntpValue ()
public long getSeconds ()
public long getFraction ()
public long getTime ()
public java.util.Date getDate ()
long time
public static long getTime (long)
long ntpTimeValue
long seconds
long fraction
long msb
public static org.apache.commons.net.ntp.TimeStamp getNtpTime (long)
long date
public static org.apache.commons.net.ntp.TimeStamp getCurrentTime ()
protected static long decodeNtpHexString (java.lang.String) throws java.lang.NumberFormatException
String s
int ind
public static org.apache.commons.net.ntp.TimeStamp parseNtpString (java.lang.String) throws java.lang.NumberFormatException
String s
protected static long toNtpTime (long)
long baseTime
long t
boolean useBase1
long baseTime
long seconds
long fraction
long time
public int hashCode ()
public boolean equals (java.lang.Object)
Object obj
public java.lang.String toString ()
private static void appendHexString (java.lang.StringBuffer, long)
int i
StringBuffer buf
long l
String s
public static java.lang.String toString (long)
long ntpTime
StringBuffer buf
public java.lang.String toDateString ()
java.text.DateFormat formatter
java.util.Date ntpDate
public java.lang.String toUTCString ()
java.text.DateFormat formatter
java.util.Date ntpDate
public int compareTo (org.apache.commons.net.ntp.TimeStamp)
org.apache.commons.net.ntp.TimeStamp anotherTimeStamp
long thisVal
long anotherVal
public int compareTo (java.lang.Object)
Object o
static void ()
}
org/apache/commons/net/ntp/NtpUtils.classNtpUtils.java
package org.apache.commons.net.ntp
public final org.apache.commons.net.ntp.NtpUtils extends java.lang.Object {
public void ()
public static java.lang.String getHostAddress (int)
int address
public static java.lang.String getRefAddress (org.apache.commons.net.ntp.NtpV3Packet)
org.apache.commons.net.ntp.NtpV3Packet packet
int address
public static java.lang.String getReferenceClock (org.apache.commons.net.ntp.NtpV3Packet)
char c
int shiftBits
org.apache.commons.net.ntp.NtpV3Packet message
int refId
StringBuffer buf
public static java.lang.String getModeName (int)
int mode
}
org/apache/commons/net/ntp/NtpV3Impl.classNtpV3Impl.java
package org.apache.commons.net.ntp
public org.apache.commons.net.ntp.NtpV3Impl extends java.lang.Object implements org.apache.commons.net.ntp.NtpV3Packet {
private static final int MODE_INDEX
private static final int MODE_SHIFT
private static final int VERSION_INDEX
private static final int VERSION_SHIFT
private static final int LI_INDEX
private static final int LI_SHIFT
private static final int STRATUM_INDEX
private static final int POLL_INDEX
private static final int PRECISION_INDEX
private static final int ROOT_DELAY_INDEX
private static final int ROOT_DISPERSION_INDEX
private static final int REFERENCE_ID_INDEX
private static final int REFERENCE_TIMESTAMP_INDEX
private static final int ORIGINATE_TIMESTAMP_INDEX
private static final int RECEIVE_TIMESTAMP_INDEX
private static final int TRANSMIT_TIMESTAMP_INDEX
private static final int KEY_IDENTIFIER_INDEX
private static final int MESSAGE_DIGEST
private byte[] buf
private java.net.DatagramPacket dp
public void ()
public int getMode ()
public java.lang.String getModeName ()
public void setMode (int)
int mode
public int getLeapIndicator ()
public void setLeapIndicator (int)
int li
public int getPoll ()
public void setPoll (int)
int poll
public int getPrecision ()
public void setPrecision (int)
int precision
public int getVersion ()
public void setVersion (int)
int version
public int getStratum ()
public void setStratum (int)
int stratum
public int getRootDelay ()
public double getRootDelayInMillisDouble ()
double l
public int getRootDispersion ()
public long getRootDispersionInMillis ()
long l
public double getRootDispersionInMillisDouble ()
double l
public void setReferenceId (int)
int i
int refId
public int getReferenceId ()
public java.lang.String getReferenceIdString ()
int version
int stratum
private java.lang.String idAsIPAddress ()
private java.lang.String idAsString ()
char c
int i
String id
private java.lang.String idAsHex ()
public org.apache.commons.net.ntp.TimeStamp getTransmitTimeStamp ()
public void setTransmitTime (org.apache.commons.net.ntp.TimeStamp)
org.apache.commons.net.ntp.TimeStamp ts
public void setOriginateTimeStamp (org.apache.commons.net.ntp.TimeStamp)
org.apache.commons.net.ntp.TimeStamp ts
public org.apache.commons.net.ntp.TimeStamp getOriginateTimeStamp ()
public org.apache.commons.net.ntp.TimeStamp getReferenceTimeStamp ()
public void setReferenceTime (org.apache.commons.net.ntp.TimeStamp)
org.apache.commons.net.ntp.TimeStamp ts
public org.apache.commons.net.ntp.TimeStamp getReceiveTimeStamp ()
public void setReceiveTimeStamp (org.apache.commons.net.ntp.TimeStamp)
org.apache.commons.net.ntp.TimeStamp ts
public java.lang.String getType ()
private int getInt (int)
int index
int i
private org.apache.commons.net.ntp.TimeStamp getTimestamp (int)
int index
private long getLong (int)
int index
long i
private void setTimestamp (int, org.apache.commons.net.ntp.TimeStamp)
int i
int index
org.apache.commons.net.ntp.TimeStamp t
long ntpTime
public java.net.DatagramPacket getDatagramPacket ()
public void setDatagramPacket (java.net.DatagramPacket)
java.net.DatagramPacket srcDp
byte[] incomingBuf
int len
protected static final int ui (byte)
byte b
int i
protected static final long ul (byte)
byte b
long i
public java.lang.String toString ()
}
org/apache/commons/net/DatagramSocketClient.classDatagramSocketClient.java
package org.apache.commons.net
public abstract org.apache.commons.net.DatagramSocketClient extends java.lang.Object {
private static final org.apache.commons.net.DatagramSocketFactory __DEFAULT_SOCKET_FACTORY
protected int _timeout_
protected java.net.DatagramSocket _socket_
protected boolean _isOpen_
protected org.apache.commons.net.DatagramSocketFactory _socketFactory_
public void ()
public void open () throws java.net.SocketException
public void open (int) throws java.net.SocketException
int port
public void open (int, java.net.InetAddress) throws java.net.SocketException
int port
java.net.InetAddress laddr
public void close ()
public boolean isOpen ()
public void setDefaultTimeout (int)
int timeout
public int getDefaultTimeout ()
public void setSoTimeout (int) throws java.net.SocketException
int timeout
public int getSoTimeout () throws java.net.SocketException
public int getLocalPort ()
public java.net.InetAddress getLocalAddress ()
public void setDatagramSocketFactory (org.apache.commons.net.DatagramSocketFactory)
org.apache.commons.net.DatagramSocketFactory factory
static void ()
}
org/apache/commons/net/DatagramSocketFactory.classDatagramSocketFactory.java
package org.apache.commons.net
public abstract org.apache.commons.net.DatagramSocketFactory extends java.lang.Object {
public abstract java.net.DatagramSocket createDatagramSocket () throws java.net.SocketException
public abstract java.net.DatagramSocket createDatagramSocket (int) throws java.net.SocketException
public abstract java.net.DatagramSocket createDatagramSocket (int, java.net.InetAddress) throws java.net.SocketException
}
org/apache/commons/net/bsd/RCommandClient.classRCommandClient.java
package org.apache.commons.net.bsd
public org.apache.commons.net.bsd.RCommandClient extends org.apache.commons.net.bsd.RExecClient {
public static final int DEFAULT_PORT
public static final int MIN_CLIENT_PORT
public static final int MAX_CLIENT_PORT
java.io.InputStream _createErrorStream () throws java.io.IOException
java.net.SocketException e
int localPort
java.net.ServerSocket server
java.net.Socket socket
public void ()
public void connect (java.net.InetAddress, int, java.net.InetAddress) throws java.net.SocketException java.net.BindException java.io.IOException
java.net.SocketException e
java.net.InetAddress host
int port
java.net.InetAddress localAddr
int localPort
public void connect (java.net.InetAddress, int) throws java.net.SocketException java.io.IOException
java.net.InetAddress host
int port
public void connect (java.lang.String, int) throws java.net.SocketException java.io.IOException
String hostname
int port
public void connect (java.lang.String, int, java.net.InetAddress) throws java.net.SocketException java.io.IOException
String hostname
int port
java.net.InetAddress localAddr
public void connect (java.net.InetAddress, int, java.net.InetAddress, int) throws java.net.SocketException java.io.IOException java.lang.IllegalArgumentException
java.net.InetAddress host
int port
java.net.InetAddress localAddr
int localPort
public void connect (java.lang.String, int, java.net.InetAddress, int) throws java.net.SocketException java.io.IOException java.lang.IllegalArgumentException
String hostname
int port
java.net.InetAddress localAddr
int localPort
public void rcommand (java.lang.String, java.lang.String, java.lang.String, boolean) throws java.io.IOException
String localUsername
String remoteUsername
String command
boolean separateErrorStream
public void rcommand (java.lang.String, java.lang.String, java.lang.String) throws java.io.IOException
String localUsername
String remoteUsername
String command
}
org/apache/commons/net/bsd/RExecClient.classRExecClient.java
package org.apache.commons.net.bsd
public org.apache.commons.net.bsd.RExecClient extends org.apache.commons.net.SocketClient {
public static final int DEFAULT_PORT
private boolean __remoteVerificationEnabled
protected java.io.InputStream _errorStream_
java.io.InputStream _createErrorStream () throws java.io.IOException
java.net.ServerSocket server
java.net.Socket socket
public void ()
public java.io.InputStream getInputStream ()
public java.io.OutputStream getOutputStream ()
public java.io.InputStream getErrorStream ()
public void rexec (java.lang.String, java.lang.String, java.lang.String, boolean) throws java.io.IOException
StringBuffer buffer
String username
String password
String command
boolean separateErrorStream
int ch
public void rexec (java.lang.String, java.lang.String, java.lang.String) throws java.io.IOException
String username
String password
String command
public void disconnect () throws java.io.IOException
public final void setRemoteVerificationEnabled (boolean)
boolean enable
public final boolean isRemoteVerificationEnabled ()
}
org/apache/commons/net/bsd/RLoginClient.classRLoginClient.java
package org.apache.commons.net.bsd
public org.apache.commons.net.bsd.RLoginClient extends org.apache.commons.net.bsd.RCommandClient {
public static final int DEFAULT_PORT
public void ()
public void rlogin (java.lang.String, java.lang.String, java.lang.String, int) throws java.io.IOException
String localUsername
String remoteUsername
String terminalType
int terminalSpeed
public void rlogin (java.lang.String, java.lang.String, java.lang.String) throws java.io.IOException
String localUsername
String remoteUsername
String terminalType
}
org/apache/commons/net/smtp/SMTPReply.classSMTPReply.java
package org.apache.commons.net.smtp
public final org.apache.commons.net.smtp.SMTPReply extends java.lang.Object {
public static final int CODE_211
public static final int CODE_214
public static final int CODE_215
public static final int CODE_220
public static final int CODE_221
public static final int CODE_250
public static final int CODE_251
public static final int CODE_354
public static final int CODE_421
public static final int CODE_450
public static final int CODE_451
public static final int CODE_452
public static final int CODE_500
public static final int CODE_501
public static final int CODE_502
public static final int CODE_503
public static final int CODE_504
public static final int CODE_550
public static final int CODE_551
public static final int CODE_552
public static final int CODE_553
public static final int CODE_554
public static final int SYSTEM_STATUS
public static final int HELP_MESSAGE
public static final int SERVICE_READY
public static final int SERVICE_CLOSING_TRANSMISSION_CHANNEL
public static final int ACTION_OK
public static final int USER_NOT_LOCAL_WILL_FORWARD
public static final int START_MAIL_INPUT
public static final int SERVICE_NOT_AVAILABLE
public static final int ACTION_NOT_TAKEN
public static final int ACTION_ABORTED
public static final int INSUFFICIENT_STORAGE
public static final int UNRECOGNIZED_COMMAND
public static final int SYNTAX_ERROR_IN_ARGUMENTS
public static final int COMMAND_NOT_IMPLEMENTED
public static final int BAD_COMMAND_SEQUENCE
public static final int COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER
public static final int MAILBOX_UNAVAILABLE
public static final int USER_NOT_LOCAL
public static final int STORAGE_ALLOCATION_EXCEEDED
public static final int MAILBOX_NAME_NOT_ALLOWED
public static final int TRANSACTION_FAILED
private void ()
public static boolean isPositivePreliminary (int)
int reply
public static boolean isPositiveCompletion (int)
int reply
public static boolean isPositiveIntermediate (int)
int reply
public static boolean isNegativeTransient (int)
int reply
public static boolean isNegativePermanent (int)
int reply
}
org/apache/commons/net/smtp/SMTPClient.classSMTPClient.java
package org.apache.commons.net.smtp
public org.apache.commons.net.smtp.SMTPClient extends org.apache.commons.net.smtp.SMTP {
public void ()
public boolean completePendingCommand () throws java.io.IOException
public boolean login (java.lang.String) throws java.io.IOException
String hostname
public boolean login () throws java.io.IOException
String name
java.net.InetAddress host
public boolean setSender (org.apache.commons.net.smtp.RelayPath) throws java.io.IOException
org.apache.commons.net.smtp.RelayPath path
public boolean setSender (java.lang.String) throws java.io.IOException
String address
public boolean addRecipient (org.apache.commons.net.smtp.RelayPath) throws java.io.IOException
org.apache.commons.net.smtp.RelayPath path
public boolean addRecipient (java.lang.String) throws java.io.IOException
String address
public java.io.Writer sendMessageData () throws java.io.IOException
public boolean sendShortMessageData (java.lang.String) throws java.io.IOException
String message
java.io.Writer writer
public boolean sendSimpleMessage (java.lang.String, java.lang.String, java.lang.String) throws java.io.IOException
String sender
String recipient
String message
public boolean sendSimpleMessage (java.lang.String, java.lang.String[], java.lang.String) throws java.io.IOException
String sender
String[] recipients
String message
boolean oneSuccess
int count
public boolean logout () throws java.io.IOException
public boolean reset () throws java.io.IOException
public boolean verify (java.lang.String) throws java.io.IOException
String username
int result
public java.lang.String listHelp () throws java.io.IOException
public java.lang.String listHelp (java.lang.String) throws java.io.IOException
String command
public boolean sendNoOp () throws java.io.IOException
}
org/apache/commons/net/smtp/SMTP.classSMTP.java
package org.apache.commons.net.smtp
public org.apache.commons.net.smtp.SMTP extends org.apache.commons.net.SocketClient {
public static final int DEFAULT_PORT
private static final String __DEFAULT_ENCODING
private StringBuffer __commandBuffer
java.io.BufferedReader _reader
java.io.BufferedWriter _writer
int _replyCode
java.util.Vector _replyLines
boolean _newReplyString
String _replyString
protected org.apache.commons.net.ProtocolCommandSupport _commandSupport_
public void ()
private int __sendCommand (java.lang.String, java.lang.String, boolean) throws java.io.IOException
String command
String args
boolean includeSpace
String message
private int __sendCommand (int, java.lang.String, boolean) throws java.io.IOException
int command
String args
boolean includeSpace
private void __getReply () throws java.io.IOException
String code
NumberFormatException e
int length
String line
protected void _connectAction_ () throws java.io.IOException
public void addProtocolCommandListener (org.apache.commons.net.ProtocolCommandListener)
org.apache.commons.net.ProtocolCommandListener listener
public void removeProtocolCommandistener (org.apache.commons.net.ProtocolCommandListener)
org.apache.commons.net.ProtocolCommandListener listener
public void disconnect () throws java.io.IOException
public int sendCommand (java.lang.String, java.lang.String) throws java.io.IOException
String command
String args
public int sendCommand (int, java.lang.String) throws java.io.IOException
int command
String args
public int sendCommand (java.lang.String) throws java.io.IOException
String command
public int sendCommand (int) throws java.io.IOException
int command
public int getReplyCode ()
public int getReply () throws java.io.IOException
public java.lang.String[] getReplyStrings ()
String[] lines
public java.lang.String getReplyString ()
java.util.Enumeration en
StringBuffer buffer
public int helo (java.lang.String) throws java.io.IOException
String hostname
public int mail (java.lang.String) throws java.io.IOException
String reversePath
public int rcpt (java.lang.String) throws java.io.IOException
String forwardPath
public int data () throws java.io.IOException
public int send (java.lang.String) throws java.io.IOException
String reversePath
public int soml (java.lang.String) throws java.io.IOException
String reversePath
public int saml (java.lang.String) throws java.io.IOException
String reversePath
public int rset () throws java.io.IOException
public int vrfy (java.lang.String) throws java.io.IOException
String user
public int expn (java.lang.String) throws java.io.IOException
String name
public int help () throws java.io.IOException
public int help (java.lang.String) throws java.io.IOException
String command
public int noop () throws java.io.IOException
public int turn () throws java.io.IOException
public int quit () throws java.io.IOException
}
org/apache/commons/net/smtp/RelayPath.classRelayPath.java
package org.apache.commons.net.smtp
public final org.apache.commons.net.smtp.RelayPath extends java.lang.Object {
java.util.Vector _path
String _emailAddress
public void (java.lang.String)
String emailAddress
public void addRelay (java.lang.String)
String hostname
public java.lang.String toString ()
StringBuffer buffer
java.util.Enumeration hosts
}
org/apache/commons/net/smtp/SMTPCommand.classSMTPCommand.java
package org.apache.commons.net.smtp
public final org.apache.commons.net.smtp.SMTPCommand extends java.lang.Object {
public static final int HELO
public static final int MAIL
public static final int RCPT
public static final int DATA
public static final int SEND
public static final int SOML
public static final int SAML
public static final int RSET
public static final int VRFY
public static final int EXPN
public static final int HELP
public static final int NOOP
public static final int TURN
public static final int QUIT
public static final int HELLO
public static final int LOGIN
public static final int MAIL_FROM
public static final int RECIPIENT
public static final int SEND_MESSAGE_DATA
public static final int SEND_FROM
public static final int SEND_OR_MAIL_FROM
public static final int SEND_AND_MAIL_FROM
public static final int RESET
public static final int VERIFY
public static final int EXPAND
public static final int LOGOUT
static final String[] _commands
private void ()
public static final java.lang.String getCommand (int)
int command
static void ()
}
org/apache/commons/net/smtp/SimpleSMTPHeader.classSimpleSMTPHeader.java
package org.apache.commons.net.smtp
public org.apache.commons.net.smtp.SimpleSMTPHeader extends java.lang.Object {
private String __subject
private String __from
private String __to
private StringBuffer __headerFields
private StringBuffer __cc
public void (java.lang.String, java.lang.String, java.lang.String)
String from
String to
String subject
public void addHeaderField (java.lang.String, java.lang.String)
String headerField
String value
public void addCC (java.lang.String)
String address
public java.lang.String toString ()
StringBuffer header
}
org/apache/commons/net/smtp/SMTPConnectionClosedException.classSMTPConnectionClosedException.java
package org.apache.commons.net.smtp
public final org.apache.commons.net.smtp.SMTPConnectionClosedException extends java.io.IOException {
public void ()
public void (java.lang.String)
String message
}
org/apache/commons/net/io/FromNetASCIIOutputStream.classFromNetASCIIOutputStream.java
package org.apache.commons.net.io
public final org.apache.commons.net.io.FromNetASCIIOutputStream extends java.io.FilterOutputStream {
private boolean __lastWasCR
public void (java.io.OutputStream)
java.io.OutputStream output
private void __write (int) throws java.io.IOException
int ch
public synchronized void write (int) throws java.io.IOException
int ch
public synchronized void write (byte[]) throws java.io.IOException
byte[] buffer
public synchronized void write (byte[], int, int) throws java.io.IOException
byte[] buffer
int offset
int length
public synchronized void close () throws java.io.IOException
}
org/apache/commons/net/io/FromNetASCIIInputStream.classFromNetASCIIInputStream.java
package org.apache.commons.net.io
public final org.apache.commons.net.io.FromNetASCIIInputStream extends java.io.PushbackInputStream {
static final boolean _noConversionRequired
static final String _lineSeparator
static final byte[] _lineSeparatorBytes
private int __length
public static final boolean isConversionRequired ()
public void (java.io.InputStream)
java.io.InputStream input
private int __read () throws java.io.IOException
int ch
public int read () throws java.io.IOException
public int read (byte[]) throws java.io.IOException
byte[] buffer
public int read (byte[], int, int) throws java.io.IOException
byte[] buffer
int offset
int length
int ch
int off
public int available () throws java.io.IOException
static void ()
}
org/apache/commons/net/io/ToNetASCIIOutputStream.classToNetASCIIOutputStream.java
package org.apache.commons.net.io
public final org.apache.commons.net.io.ToNetASCIIOutputStream extends java.io.FilterOutputStream {
private boolean __lastWasCR
public void (java.io.OutputStream)
java.io.OutputStream output
public synchronized void write (int) throws java.io.IOException
int ch
public synchronized void write (byte[]) throws java.io.IOException
byte[] buffer
public synchronized void write (byte[], int, int) throws java.io.IOException
byte[] buffer
int offset
int length
}
org/apache/commons/net/io/ToNetASCIIInputStream.classToNetASCIIInputStream.java
package org.apache.commons.net.io
public final org.apache.commons.net.io.ToNetASCIIInputStream extends java.io.FilterInputStream {
private static final int __NOTHING_SPECIAL
private static final int __LAST_WAS_CR
private static final int __LAST_WAS_NL
private int __status
public void (java.io.InputStream)
java.io.InputStream input
public int read () throws java.io.IOException
int ch
public int read (byte[]) throws java.io.IOException
byte[] buffer
public int read (byte[], int, int) throws java.io.IOException
byte[] buffer
int offset
int length
int ch
int off
public boolean markSupported ()
public int available () throws java.io.IOException
int result
}
org/apache/commons/net/io/SocketInputStream.classSocketInputStream.java
package org.apache.commons.net.io
public org.apache.commons.net.io.SocketInputStream extends java.io.FilterInputStream {
private java.net.Socket __socket
public void (java.net.Socket, java.io.InputStream)
java.net.Socket socket
java.io.InputStream stream
public void close () throws java.io.IOException
}
org/apache/commons/net/io/CopyStreamException.classCopyStreamException.java
package org.apache.commons.net.io
public org.apache.commons.net.io.CopyStreamException extends java.io.IOException {
private long totalBytesTransferred
private java.io.IOException ioException
public void (java.lang.String, long, java.io.IOException)
String message
long bytesTransferred
java.io.IOException exception
public long getTotalBytesTransferred ()
public java.io.IOException getIOException ()
}
org/apache/commons/net/io/SocketOutputStream.classSocketOutputStream.java
package org.apache.commons.net.io
public org.apache.commons.net.io.SocketOutputStream extends java.io.FilterOutputStream {
private java.net.Socket __socket
public void (java.net.Socket, java.io.OutputStream)
java.net.Socket socket
java.io.OutputStream stream
public void write (byte[], int, int) throws java.io.IOException
byte[] buffer
int offset
int length
public void close () throws java.io.IOException
}
org/apache/commons/net/io/DotTerminatedMessageWriter.classDotTerminatedMessageWriter.java
package org.apache.commons.net.io
public final org.apache.commons.net.io.DotTerminatedMessageWriter extends java.io.Writer {
private static final int __NOTHING_SPECIAL_STATE
private static final int __LAST_WAS_CR_STATE
private static final int __LAST_WAS_NL_STATE
private int __state
private java.io.Writer __output
public void (java.io.Writer)
java.io.Writer output
public void write (int) throws java.io.IOException
int ch
public void write (char[], int, int) throws java.io.IOException
char[] buffer
int offset
int length
public void write (char[]) throws java.io.IOException
char[] buffer
public void write (java.lang.String) throws java.io.IOException
String string
public void write (java.lang.String, int, int) throws java.io.IOException
String string
int offset
int length
public void flush () throws java.io.IOException
public void close () throws java.io.IOException
}
org/apache/commons/net/io/CopyStreamAdapter.classCopyStreamAdapter.java
package org.apache.commons.net.io
public org.apache.commons.net.io.CopyStreamAdapter extends java.lang.Object implements org.apache.commons.net.io.CopyStreamListener {
private org.apache.commons.net.util.ListenerList internalListeners
public void ()
public void bytesTransferred (org.apache.commons.net.io.CopyStreamEvent)
org.apache.commons.net.io.CopyStreamEvent event
public void bytesTransferred (long, int, long)
long totalBytesTransferred
int bytesTransferred
long streamSize
java.util.Enumeration listeners
org.apache.commons.net.io.CopyStreamEvent event
public void addCopyStreamListener (org.apache.commons.net.io.CopyStreamListener)
org.apache.commons.net.io.CopyStreamListener listener
public void removeCopyStreamListener (org.apache.commons.net.io.CopyStreamListener)
org.apache.commons.net.io.CopyStreamListener listener
}
org/apache/commons/net/io/CopyStreamListener.classCopyStreamListener.java
package org.apache.commons.net.io
public abstract org.apache.commons.net.io.CopyStreamListener extends java.lang.Object implements java.util.EventListener {
public abstract void bytesTransferred (org.apache.commons.net.io.CopyStreamEvent)
public abstract void bytesTransferred (long, int, long)
}
org/apache/commons/net/io/CopyStreamEvent.classCopyStreamEvent.java
package org.apache.commons.net.io
public org.apache.commons.net.io.CopyStreamEvent extends java.util.EventObject {
public static final long UNKNOWN_STREAM_SIZE
private int bytesTransferred
private long totalBytesTransferred
private long streamSize
public void (java.lang.Object, long, int, long)
Object source
long totalBytesTransferred
int bytesTransferred
long streamSize
public int getBytesTransferred ()
public long getTotalBytesTransferred ()
public long getStreamSize ()
}
org/apache/commons/net/io/DotTerminatedMessageReader.classDotTerminatedMessageReader.java
package org.apache.commons.net.io
public final org.apache.commons.net.io.DotTerminatedMessageReader extends java.io.Reader {
private static final String LS
private static final char[] LS_CHARS
private boolean atBeginning
private boolean eof
private int pos
private char[] internalBuffer
private java.io.PushbackReader internalReader
public void (java.io.Reader)
java.io.Reader reader
public int read () throws java.io.IOException
int ch
public int read (char[]) throws java.io.IOException
char[] buffer
public int read (char[], int, int) throws java.io.IOException
int ch
int off
char[] buffer
int offset
int length
public boolean ready () throws java.io.IOException
public void close () throws java.io.IOException
static void ()
}
org/apache/commons/net/io/Util.classUtil.java
package org.apache.commons.net.io
public final org.apache.commons.net.io.Util extends java.lang.Object {
public static final int DEFAULT_COPY_BUFFER_SIZE
private void ()
public static final long copyStream (java.io.InputStream, java.io.OutputStream, int, long, org.apache.commons.net.io.CopyStreamListener, boolean) throws org.apache.commons.net.io.CopyStreamException
int bytes
java.io.IOException e
java.io.InputStream source
java.io.OutputStream dest
int bufferSize
long streamSize
org.apache.commons.net.io.CopyStreamListener listener
boolean flush
int bytes
long total
byte[] buffer
public static final long copyStream (java.io.InputStream, java.io.OutputStream, int, long, org.apache.commons.net.io.CopyStreamListener) throws org.apache.commons.net.io.CopyStreamException
java.io.InputStream source
java.io.OutputStream dest
int bufferSize
long streamSize
org.apache.commons.net.io.CopyStreamListener listener
public static final long copyStream (java.io.InputStream, java.io.OutputStream, int) throws org.apache.commons.net.io.CopyStreamException
java.io.InputStream source
java.io.OutputStream dest
int bufferSize
public static final long copyStream (java.io.InputStream, java.io.OutputStream) throws org.apache.commons.net.io.CopyStreamException
java.io.InputStream source
java.io.OutputStream dest
public static final long copyReader (java.io.Reader, java.io.Writer, int, long, org.apache.commons.net.io.CopyStreamListener) throws org.apache.commons.net.io.CopyStreamException
int chars
java.io.IOException e
java.io.Reader source
java.io.Writer dest
int bufferSize
long streamSize
org.apache.commons.net.io.CopyStreamListener listener
int chars
long total
char[] buffer
public static final long copyReader (java.io.Reader, java.io.Writer, int) throws org.apache.commons.net.io.CopyStreamException
java.io.Reader source
java.io.Writer dest
int bufferSize
public static final long copyReader (java.io.Reader, java.io.Writer) throws org.apache.commons.net.io.CopyStreamException
java.io.Reader source
java.io.Writer dest
}
org/apache/commons/net/tftp/TFTPPacketException.classTFTPPacketException.java
package org.apache.commons.net.tftp
public org.apache.commons.net.tftp.TFTPPacketException extends java.lang.Exception {
public void ()
public void (java.lang.String)
String message
}
org/apache/commons/net/tftp/TFTPDataPacket.classTFTPDataPacket.java
package org.apache.commons.net.tftp
public final org.apache.commons.net.tftp.TFTPDataPacket extends org.apache.commons.net.tftp.TFTPPacket {
public static final int MAX_DATA_LENGTH
public static final int MIN_DATA_LENGTH
int _blockNumber
int _length
int _offset
byte[] _data
public void (java.net.InetAddress, int, int, byte[], int, int)
java.net.InetAddress destination
int port
int blockNumber
byte[] data
int offset
int length
public void (java.net.InetAddress, int, int, byte[])
java.net.InetAddress destination
int port
int blockNumber
byte[] data
void (java.net.DatagramPacket) throws org.apache.commons.net.tftp.TFTPPacketException
java.net.DatagramPacket datagram
java.net.DatagramPacket _newDatagram (java.net.DatagramPacket, byte[])
java.net.DatagramPacket datagram
byte[] data
public java.net.DatagramPacket newDatagram ()
byte[] data
public int getBlockNumber ()
public void setBlockNumber (int)
int blockNumber
public void setData (byte[], int, int)
byte[] data
int offset
int length
public int getDataLength ()
public int getDataOffset ()
public byte[] getData ()
}
org/apache/commons/net/tftp/TFTPPacket.classTFTPPacket.java
package org.apache.commons.net.tftp
public abstract org.apache.commons.net.tftp.TFTPPacket extends java.lang.Object {
static final int MIN_PACKET_SIZE
public static final int READ_REQUEST
public static final int WRITE_REQUEST
public static final int DATA
public static final int ACKNOWLEDGEMENT
public static final int ERROR
public static final int SEGMENT_SIZE
int _type
int _port
java.net.InetAddress _address
public static final org.apache.commons.net.tftp.TFTPPacket newTFTPPacket (java.net.DatagramPacket) throws org.apache.commons.net.tftp.TFTPPacketException
java.net.DatagramPacket datagram
byte[] data
org.apache.commons.net.tftp.TFTPPacket packet
void (int, java.net.InetAddress, int)
int type
java.net.InetAddress address
int port
abstract java.net.DatagramPacket _newDatagram (java.net.DatagramPacket, byte[])
public abstract java.net.DatagramPacket newDatagram ()
public final int getType ()
public final java.net.InetAddress getAddress ()
public final int getPort ()
public final void setPort (int)
int port
public final void setAddress (java.net.InetAddress)
java.net.InetAddress address
}
org/apache/commons/net/tftp/TFTPErrorPacket.classTFTPErrorPacket.java
package org.apache.commons.net.tftp
public final org.apache.commons.net.tftp.TFTPErrorPacket extends org.apache.commons.net.tftp.TFTPPacket {
public static final int UNDEFINED
public static final int FILE_NOT_FOUND
public static final int ACCESS_VIOLATION
public static final int OUT_OF_SPACE
public static final int ILLEGAL_OPERATION
public static final int UNKNOWN_TID
public static final int FILE_EXISTS
public static final int NO_SUCH_USER
int _error
String _message
public void (java.net.InetAddress, int, int, java.lang.String)
java.net.InetAddress destination
int port
int error
String message
void (java.net.DatagramPacket) throws org.apache.commons.net.tftp.TFTPPacketException
java.net.DatagramPacket datagram
int index
int length
byte[] data
StringBuffer buffer
java.net.DatagramPacket _newDatagram (java.net.DatagramPacket, byte[])
java.net.DatagramPacket datagram
byte[] data
int length
public java.net.DatagramPacket newDatagram ()
byte[] data
int length
public int getError ()
public java.lang.String getMessage ()
}
org/apache/commons/net/tftp/TFTPAckPacket.classTFTPAckPacket.java
package org.apache.commons.net.tftp
public final org.apache.commons.net.tftp.TFTPAckPacket extends org.apache.commons.net.tftp.TFTPPacket {
int _blockNumber
public void (java.net.InetAddress, int, int)
java.net.InetAddress destination
int port
int blockNumber
void (java.net.DatagramPacket) throws org.apache.commons.net.tftp.TFTPPacketException
java.net.DatagramPacket datagram
byte[] data
java.net.DatagramPacket _newDatagram (java.net.DatagramPacket, byte[])
java.net.DatagramPacket datagram
byte[] data
public java.net.DatagramPacket newDatagram ()
byte[] data
public int getBlockNumber ()
public void setBlockNumber (int)
int blockNumber
}
org/apache/commons/net/tftp/TFTPClient.classTFTPClient.java
package org.apache.commons.net.tftp
public org.apache.commons.net.tftp.TFTPClient extends org.apache.commons.net.tftp.TFTP {
public static final int DEFAULT_MAX_TIMEOUTS
private int __maxTimeouts
public void ()
public void setMaxTimeouts (int)
int numTimeouts
public int getMaxTimeouts ()
public int receiveFile (java.lang.String, int, java.io.OutputStream, java.net.InetAddress, int) throws java.io.IOException
java.net.SocketException e
java.io.InterruptedIOException e
org.apache.commons.net.tftp.TFTPPacketException e
org.apache.commons.net.tftp.TFTPErrorPacket error
java.io.IOException e
org.apache.commons.net.tftp.TFTPErrorPacket error
org.apache.commons.net.tftp.TFTPDataPacket data
org.apache.commons.net.tftp.TFTPErrorPacket error
String filename
int mode
java.io.OutputStream output
java.net.InetAddress host
int port
int bytesRead
int timeouts
int lastBlock
int block
int hostPort
int dataLength
org.apache.commons.net.tftp.TFTPPacket sent
org.apache.commons.net.tftp.TFTPPacket received
org.apache.commons.net.tftp.TFTPDataPacket data
org.apache.commons.net.tftp.TFTPAckPacket ack
public int receiveFile (java.lang.String, int, java.io.OutputStream, java.lang.String, int) throws java.net.UnknownHostException java.io.IOException
String filename
int mode
java.io.OutputStream output
String hostname
int port
public int receiveFile (java.lang.String, int, java.io.OutputStream, java.net.InetAddress) throws java.io.IOException
String filename
int mode
java.io.OutputStream output
java.net.InetAddress host
public int receiveFile (java.lang.String, int, java.io.OutputStream, java.lang.String) throws java.net.UnknownHostException java.io.IOException
String filename
int mode
java.io.OutputStream output
String hostname
public void sendFile (java.lang.String, int, java.io.InputStream, java.net.InetAddress, int) throws java.io.IOException
java.net.SocketException e
java.io.InterruptedIOException e
org.apache.commons.net.tftp.TFTPPacketException e
org.apache.commons.net.tftp.TFTPErrorPacket error
org.apache.commons.net.tftp.TFTPAckPacket ack
org.apache.commons.net.tftp.TFTPErrorPacket error
int offset
String filename
int mode
java.io.InputStream input
java.net.InetAddress host
int port
int bytesRead
int timeouts
int lastBlock
int block
int hostPort
int dataLength
org.apache.commons.net.tftp.TFTPPacket sent
org.apache.commons.net.tftp.TFTPPacket received
org.apache.commons.net.tftp.TFTPDataPacket data
org.apache.commons.net.tftp.TFTPAckPacket ack
boolean lastAckWait
public void sendFile (java.lang.String, int, java.io.InputStream, java.lang.String, int) throws java.net.UnknownHostException java.io.IOException
String filename
int mode
java.io.InputStream input
String hostname
int port
public void sendFile (java.lang.String, int, java.io.InputStream, java.net.InetAddress) throws java.io.IOException
String filename
int mode
java.io.InputStream input
java.net.InetAddress host
public void sendFile (java.lang.String, int, java.io.InputStream, java.lang.String) throws java.net.UnknownHostException java.io.IOException
String filename
int mode
java.io.InputStream input
String hostname
}
org/apache/commons/net/tftp/TFTP.classTFTP.java
package org.apache.commons.net.tftp
public org.apache.commons.net.tftp.TFTP extends org.apache.commons.net.DatagramSocketClient {
public static final int ASCII_MODE
public static final int NETASCII_MODE
public static final int BINARY_MODE
public static final int IMAGE_MODE
public static final int OCTET_MODE
public static final int DEFAULT_TIMEOUT
public static final int DEFAULT_PORT
static final int PACKET_SIZE
private byte[] __receiveBuffer
private java.net.DatagramPacket __receiveDatagram
private java.net.DatagramPacket __sendDatagram
byte[] _sendBuffer
public static final java.lang.String getModeName (int)
int mode
public void ()
public final void discardPackets () throws java.io.IOException
java.net.SocketException e
java.io.InterruptedIOException e
int to
java.net.DatagramPacket datagram
public final org.apache.commons.net.tftp.TFTPPacket bufferedReceive () throws java.io.IOException java.io.InterruptedIOException java.net.SocketException org.apache.commons.net.tftp.TFTPPacketException
public final void bufferedSend (org.apache.commons.net.tftp.TFTPPacket) throws java.io.IOException
org.apache.commons.net.tftp.TFTPPacket packet
public final void beginBufferedOps ()
public final void endBufferedOps ()
public final void send (org.apache.commons.net.tftp.TFTPPacket) throws java.io.IOException
org.apache.commons.net.tftp.TFTPPacket packet
public final org.apache.commons.net.tftp.TFTPPacket receive () throws java.io.IOException java.io.InterruptedIOException java.net.SocketException org.apache.commons.net.tftp.TFTPPacketException
java.net.DatagramPacket packet
}
org/apache/commons/net/tftp/TFTPWriteRequestPacket.classTFTPWriteRequestPacket.java
package org.apache.commons.net.tftp
public final org.apache.commons.net.tftp.TFTPWriteRequestPacket extends org.apache.commons.net.tftp.TFTPRequestPacket {
public void (java.net.InetAddress, int, java.lang.String, int)
java.net.InetAddress destination
int port
String filename
int mode
void (java.net.DatagramPacket) throws org.apache.commons.net.tftp.TFTPPacketException
java.net.DatagramPacket datagram
}
org/apache/commons/net/tftp/TFTPRequestPacket.classTFTPRequestPacket.java
package org.apache.commons.net.tftp
public abstract org.apache.commons.net.tftp.TFTPRequestPacket extends org.apache.commons.net.tftp.TFTPPacket {
static final String[] _modeStrings
static final byte[][] _modeBytes
int _mode
String _filename
void (java.net.InetAddress, int, int, java.lang.String, int)
java.net.InetAddress destination
int port
int type
String filename
int mode
void (int, java.net.DatagramPacket) throws org.apache.commons.net.tftp.TFTPPacketException
int type
java.net.DatagramPacket datagram
byte[] data
int index
int length
String mode
StringBuffer buffer
final java.net.DatagramPacket _newDatagram (java.net.DatagramPacket, byte[])
java.net.DatagramPacket datagram
byte[] data
int fileLength
int modeLength
public final java.net.DatagramPacket newDatagram ()
int fileLength
int modeLength
byte[] data
public final int getMode ()
public final java.lang.String getFilename ()
static void ()
}
org/apache/commons/net/tftp/TFTPReadRequestPacket.classTFTPReadRequestPacket.java
package org.apache.commons.net.tftp
public final org.apache.commons.net.tftp.TFTPReadRequestPacket extends org.apache.commons.net.tftp.TFTPRequestPacket {
public void (java.net.InetAddress, int, java.lang.String, int)
java.net.InetAddress destination
int port
String filename
int mode
void (java.net.DatagramPacket) throws org.apache.commons.net.tftp.TFTPPacketException
java.net.DatagramPacket datagram
}
org/apache/commons/net/DaytimeTCPClient.classDaytimeTCPClient.java
package org.apache.commons.net
public final org.apache.commons.net.DaytimeTCPClient extends org.apache.commons.net.SocketClient {
public static final int DEFAULT_PORT
private char[] __buffer
public void ()
public java.lang.String getTime () throws java.io.IOException
int read
StringBuffer result
java.io.BufferedReader reader
}
org/apache/commons/net/CharGenUDPClient.classCharGenUDPClient.java
package org.apache.commons.net
public final org.apache.commons.net.CharGenUDPClient extends org.apache.commons.net.DatagramSocketClient {
public static final int SYSTAT_PORT
public static final int NETSTAT_PORT
public static final int QUOTE_OF_DAY_PORT
public static final int CHARGEN_PORT
public static final int DEFAULT_PORT
private byte[] __receiveData
private java.net.DatagramPacket __receivePacket
private java.net.DatagramPacket __sendPacket
public void ()
public void send (java.net.InetAddress, int) throws java.io.IOException
java.net.InetAddress host
int port
public void send (java.net.InetAddress) throws java.io.IOException
java.net.InetAddress host
public byte[] receive () throws java.io.IOException
int length
byte[] result
}
org/apache/commons/net/TimeUDPClient.classTimeUDPClient.java
package org.apache.commons.net
public final org.apache.commons.net.TimeUDPClient extends org.apache.commons.net.DatagramSocketClient {
public static final int DEFAULT_PORT
public static final long SECONDS_1900_TO_1970
private byte[] __dummyData
private byte[] __timeData
public void ()
public long getTime (java.net.InetAddress, int) throws java.io.IOException
java.net.InetAddress host
int port
long time
java.net.DatagramPacket sendPacket
java.net.DatagramPacket receivePacket
public long getTime (java.net.InetAddress) throws java.io.IOException
java.net.InetAddress host
public java.util.Date getDate (java.net.InetAddress, int) throws java.io.IOException
java.net.InetAddress host
int port
public java.util.Date getDate (java.net.InetAddress) throws java.io.IOException
java.net.InetAddress host
}
org/apache/commons/net/DiscardUDPClient.classDiscardUDPClient.java
package org.apache.commons.net
public org.apache.commons.net.DiscardUDPClient extends org.apache.commons.net.DatagramSocketClient {
public static final int DEFAULT_PORT
java.net.DatagramPacket _sendPacket
public void ()
public void send (byte[], int, java.net.InetAddress, int) throws java.io.IOException
byte[] data
int length
java.net.InetAddress host
int port
public void send (byte[], int, java.net.InetAddress) throws java.io.IOException
byte[] data
int length
java.net.InetAddress host
public void send (byte[], java.net.InetAddress) throws java.io.IOException
byte[] data
java.net.InetAddress host
}
org/apache/commons/net/EchoTCPClient.classEchoTCPClient.java
package org.apache.commons.net
public final org.apache.commons.net.EchoTCPClient extends org.apache.commons.net.DiscardTCPClient {
public static final int DEFAULT_PORT
public void ()
public java.io.InputStream getInputStream ()
}
org/apache/commons/net/DiscardTCPClient.classDiscardTCPClient.java
package org.apache.commons.net
public org.apache.commons.net.DiscardTCPClient extends org.apache.commons.net.SocketClient {
public static final int DEFAULT_PORT
public void ()
public java.io.OutputStream getOutputStream ()
}
org/apache/commons/net/DefaultSocketFactory.classDefaultSocketFactory.java
package org.apache.commons.net
public org.apache.commons.net.DefaultSocketFactory extends java.lang.Object implements org.apache.commons.net.SocketFactory {
public void ()
public java.net.Socket createSocket (java.lang.String, int) throws java.net.UnknownHostException java.io.IOException
String host
int port
public java.net.Socket createSocket (java.net.InetAddress, int) throws java.io.IOException
java.net.InetAddress address
int port
public java.net.Socket createSocket (java.lang.String, int, java.net.InetAddress, int) throws java.net.UnknownHostException java.io.IOException
String host
int port
java.net.InetAddress localAddr
int localPort
public java.net.Socket createSocket (java.net.InetAddress, int, java.net.InetAddress, int) throws java.io.IOException
java.net.InetAddress address
int port
java.net.InetAddress localAddr
int localPort
public java.net.ServerSocket createServerSocket (int) throws java.io.IOException
int port
public java.net.ServerSocket createServerSocket (int, int) throws java.io.IOException
int port
int backlog
public java.net.ServerSocket createServerSocket (int, int, java.net.InetAddress) throws java.io.IOException
int port
int backlog
java.net.InetAddress bindAddr
}
org/apache/commons/net/TimeTCPClient.classTimeTCPClient.java
package org.apache.commons.net
public final org.apache.commons.net.TimeTCPClient extends org.apache.commons.net.SocketClient {
public static final int DEFAULT_PORT
public static final long SECONDS_1900_TO_1970
public void ()
public long getTime () throws java.io.IOException
java.io.DataInputStream input
public java.util.Date getDate () throws java.io.IOException
}
org/apache/commons/net/DaytimeUDPClient.classDaytimeUDPClient.java
package org.apache.commons.net
public final org.apache.commons.net.DaytimeUDPClient extends org.apache.commons.net.DatagramSocketClient {
public static final int DEFAULT_PORT
private byte[] __dummyData
private byte[] __timeData
public void ()
public java.lang.String getTime (java.net.InetAddress, int) throws java.io.IOException
java.net.InetAddress host
int port
java.net.DatagramPacket sendPacket
java.net.DatagramPacket receivePacket
public java.lang.String getTime (java.net.InetAddress) throws java.io.IOException
java.net.InetAddress host
}
org/apache/commons/net/FingerClient.classFingerClient.java
package org.apache.commons.net
public org.apache.commons.net.FingerClient extends org.apache.commons.net.SocketClient {
public static final int DEFAULT_PORT
private static final String __LONG_FLAG
private transient StringBuffer __query
private transient char[] __buffer
public void ()
public java.lang.String query (boolean, java.lang.String) throws java.io.IOException
boolean longOutput
String username
int read
StringBuffer result
java.io.BufferedReader input
public java.lang.String query (boolean) throws java.io.IOException
boolean longOutput
public java.io.InputStream getInputStream (boolean, java.lang.String) throws java.io.IOException
boolean longOutput
String username
java.io.DataOutputStream output
public java.io.InputStream getInputStream (boolean) throws java.io.IOException
boolean longOutput
}
org/apache/commons/net/CharGenTCPClient.classCharGenTCPClient.java
package org.apache.commons.net
public final org.apache.commons.net.CharGenTCPClient extends org.apache.commons.net.SocketClient {
public static final int SYSTAT_PORT
public static final int NETSTAT_PORT
public static final int QUOTE_OF_DAY_PORT
public static final int CHARGEN_PORT
public static final int DEFAULT_PORT
public void ()
public java.io.InputStream getInputStream ()
}
org/apache/commons/net/EchoUDPClient.classEchoUDPClient.java
package org.apache.commons.net
public final org.apache.commons.net.EchoUDPClient extends org.apache.commons.net.DiscardUDPClient {
public static final int DEFAULT_PORT
private java.net.DatagramPacket __receivePacket
public void ()
public void send (byte[], int, java.net.InetAddress) throws java.io.IOException
byte[] data
int length
java.net.InetAddress host
public void send (byte[], java.net.InetAddress) throws java.io.IOException
byte[] data
java.net.InetAddress host
public int receive (byte[], int) throws java.io.IOException
byte[] data
int length
public int receive (byte[]) throws java.io.IOException
byte[] data
}
org/apache/commons/net/DefaultDatagramSocketFactory.classDefaultDatagramSocketFactory.java
package org.apache.commons.net
public org.apache.commons.net.DefaultDatagramSocketFactory extends java.lang.Object implements org.apache.commons.net.DatagramSocketFactory {
public void ()
public java.net.DatagramSocket createDatagramSocket () throws java.net.SocketException
public java.net.DatagramSocket createDatagramSocket (int) throws java.net.SocketException
int port
public java.net.DatagramSocket createDatagramSocket (int, java.net.InetAddress) throws java.net.SocketException
int port
java.net.InetAddress laddr
}
org/apache/commons/net/WhoisClient.classWhoisClient.java
package org.apache.commons.net
public final org.apache.commons.net.WhoisClient extends org.apache.commons.net.FingerClient {
public static final String DEFAULT_HOST
public static final int DEFAULT_PORT
public void ()
public java.lang.String query (java.lang.String) throws java.io.IOException
String handle
public java.io.InputStream getInputStream (java.lang.String) throws java.io.IOException
String handle
}
META-INF/NOTICE.txt
META-INF/LICENSE.txt