A B C D E F G H I L M N O P Q R S T U V W X _

A

ABOR - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
abor() - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP ABOR command to the server, receive the reply, and return the reply code.
ABORT - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
ABORT - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Abort code.
abort() - Method in class org.apache.commons.net.ftp.FTPClient
Abort a transfer in progress.
ACCESS_VIOLATION - Static variable in class org.apache.commons.net.tftp.TFTPErrorPacket
The access violation error code according to RFC 783, value 2.
ACCOUNT - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
ACCT - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
acct(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP ACCT command to the server, receive the reply, and return the reply code.
ACKNOWLEDGEMENT - Static variable in class org.apache.commons.net.tftp.TFTPPacket
This is the actual TFTP spec identifier and is equal to 4.
ACTION_ABORTED - Static variable in class org.apache.commons.net.ftp.FTPReply
 
ACTION_ABORTED - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
ACTION_NOT_TAKEN - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
ACTION_OK - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
ACTIVE_LOCAL_DATA_CONNECTION_MODE - Static variable in class org.apache.commons.net.ftp.FTPClient
A constant indicating the FTP session is expecting all transfers to occur between the client (local) and server and that the server should connect to the client's data port to initiate a data transfer.
ACTIVE_REMOTE_DATA_CONNECTION_MODE - Static variable in class org.apache.commons.net.ftp.FTPClient
A constant indicating the FTP session is expecting all transfers to occur between two remote servers and that the server the client is connected to should connect to the other server's data port to initiate a data transfer.
addCC(String) - Method in class org.apache.commons.net.smtp.SimpleSMTPHeader
Add an email address to the CC (carbon copy or courtesy copy) list.
addCopyStreamListener(CopyStreamListener) - Method in class org.apache.commons.net.io.CopyStreamAdapter
Registers a CopyStreamListener to receive CopyStreamEvents.
addDistribution(String) - Method in class org.apache.commons.net.nntp.NewGroupsOrNewsQuery
Add a distribution group to the query.
addHeaderField(String, String) - Method in class org.apache.commons.net.nntp.SimpleNNTPHeader
Adds an arbitrary header field with the given value to the article header.
addHeaderField(String, String) - Method in class org.apache.commons.net.smtp.SimpleSMTPHeader
Adds an arbitrary header field with the given value to the article header.
addListener(EventListener) - Method in class org.apache.commons.net.util.ListenerList
 
addNewsgroup(String) - Method in class org.apache.commons.net.nntp.SimpleNNTPHeader
Adds a newsgroup to the article Newsgroups: field.
addNewsgroup(String) - Method in class org.apache.commons.net.nntp.NewGroupsOrNewsQuery
Add a newsgroup to the list of newsgroups being queried.
addProtocolCommandListener(ProtocolCommandListener) - Method in class org.apache.commons.net.ProtocolCommandSupport
Adds a ProtocolCommandListener.
addProtocolCommandListener(ProtocolCommandListener) - Method in class org.apache.commons.net.ftp.FTP
Adds a ProtocolCommandListener.
addProtocolCommandListener(ProtocolCommandListener) - Method in class org.apache.commons.net.nntp.NNTP
Adds a ProtocolCommandListener.
addProtocolCommandListener(ProtocolCommandListener) - Method in class org.apache.commons.net.pop3.POP3
Adds a ProtocolCommandListener.
addProtocolCommandListener(ProtocolCommandListener) - Method in class org.apache.commons.net.smtp.SMTP
Adds a ProtocolCommandListener.
addRecipient(RelayPath) - Method in class org.apache.commons.net.smtp.SMTPClient
Add a recipient for a message using the SMTP RCPT command, specifying a forward relay path.
addRecipient(String) - Method in class org.apache.commons.net.smtp.SMTPClient
Add a recipient for a message using the SMTP RCPT command, the recipient's email address.
addRelay(String) - Method in class org.apache.commons.net.smtp.RelayPath
Add a mail relay host to the relay path.
ALLO - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
allo(int) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP ALLO command to the server, receive the reply, and return the reply code.
allo(int, int) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP ALLO command to the server, receive the reply, and return the reply code.
ALLOCATE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
allocate(int) - Method in class org.apache.commons.net.ftp.FTPClient
Reserve a number of bytes on the server for the next file transfer.
allocate(int, int) - Method in class org.apache.commons.net.ftp.FTPClient
Reserve space on the server for the next file transfer.
AO - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Abort Output code.
APOP - Static variable in class org.apache.commons.net.pop3.POP3Command
Authorization.
APPE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
appe(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP APPE command to the server, receive the reply, and return the reply code.
APPEND - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
appendFile(String, InputStream) - Method in class org.apache.commons.net.ftp.FTPClient
Appends to a file on the server with the given name, taking input from the given InputStream.
appendFileStream(String) - Method in class org.apache.commons.net.ftp.FTPClient
Returns an OutputStream through which data can be written to append to a file on the server with the given name.
APPROXIMATE_MESSAGE_SIZE - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
ARTICLE - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
ARTICLE_LIST_BY_MESSAGE_ID_FOLLOWS - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
ARTICLE_NOT_WANTED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
ARTICLE_POSTED_OK - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
ARTICLE_REJECTED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
ARTICLE_RETRIEVED_BODY_FOLLOWS - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
ARTICLE_RETRIEVED_HEAD_AND_BODY_FOLLOW - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
ARTICLE_RETRIEVED_HEAD_FOLLOWS - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
ARTICLE_RETRIEVED_REQUEST_TEXT_SEPARATELY - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
ARTICLE_TRANSFERRED_OK - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
article() - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP ARTICLE command to the server, receive the initial reply, and return the reply code.
article(int) - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP ARTICLE command to the server, receive the initial reply, and return the reply code.
article(String) - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP ARTICLE command to the server, receive the initial reply, and return the reply code.
articleId - Variable in class org.apache.commons.net.nntp.ArticlePointer
The unique id of the referenced article, including the enclosing < and > symbols which are technically not part of the identifier, but are required by all NNTP commands taking an article id as an argument.
articleNumber - Variable in class org.apache.commons.net.nntp.ArticlePointer
The number of the referenced article.
ArticlePointer - class org.apache.commons.net.nntp.ArticlePointer.
This class is a structure used to return article number and unique id information extracted from an NNTP server reply.
ArticlePointer() - Constructor for class org.apache.commons.net.nntp.ArticlePointer
 
ASCII_FILE_TYPE - Static variable in class org.apache.commons.net.ftp.FTP
A constant used to indicate the file(s) being transfered should be treated as ASCII.
ASCII_MODE - Static variable in class org.apache.commons.net.tftp.TFTP
The ascii transfer mode.
AUTHENTICATION - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
AUTHORIZATION_STATE - Static variable in class org.apache.commons.net.pop3.POP3
A constant representing the POP3 authorization state.
available() - Method in class org.apache.commons.net.io.ToNetASCIIInputStream
 
available() - Method in class org.apache.commons.net.io.FromNetASCIIInputStream
Returns the number of bytes that can be read without blocking EXCEPT when newline conversions have to be made somewhere within the available block of bytes.
AYT - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Are You There code.

B

BAD_COMMAND_SEQUENCE - Static variable in class org.apache.commons.net.ftp.FTPReply
 
BAD_COMMAND_SEQUENCE - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
beginBufferedOps() - Method in class org.apache.commons.net.tftp.TFTP
Initializes the internal buffers.
BINARY - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
BINARY_FILE_TYPE - Static variable in class org.apache.commons.net.ftp.FTP
A constant used to indicate the file(s) being transfered should be treated as a binary image, i.e., no translations should be performed.
BINARY_MODE - Static variable in class org.apache.commons.net.tftp.TFTP
The binary transfer mode.
BLOCK_TRANSFER_MODE - Static variable in class org.apache.commons.net.ftp.FTP
A constant used to indicate a file is to be transfered as a series of blocks.
BODY - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
body() - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP BODY command to the server, receive the initial reply, and return the reply code.
body(int) - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP BODY command to the server, receive the initial reply, and return the reply code.
body(String) - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP BODY command to the server, receive the initial reply, and return the reply code.
BREAK - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Break code.
bufferedReceive() - Method in class org.apache.commons.net.tftp.TFTP
This is a special method to perform a more efficient packet receive.
bufferedSend(TFTPPacket) - Method in class org.apache.commons.net.tftp.TFTP
This is a special method to perform a more efficient packet send.
BYTE_MACRO - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
bytesTransferred(CopyStreamEvent) - Method in interface org.apache.commons.net.io.CopyStreamListener
This method is invoked by a CopyStreamEvent source after copying a block of bytes from a stream.
bytesTransferred(CopyStreamEvent) - Method in class org.apache.commons.net.io.CopyStreamAdapter
This method is invoked by a CopyStreamEvent source after copying a block of bytes from a stream.
bytesTransferred(long, int, long) - Method in interface org.apache.commons.net.io.CopyStreamListener
This method is not part of the JavaBeans model and is used by the static methods in the org.apache.commons.io.Util class for efficiency.
bytesTransferred(long, int, long) - Method in class org.apache.commons.net.io.CopyStreamAdapter
This method is not part of the JavaBeans model and is used by the static methods in the org.apache.commons.io.Util class for efficiency.

C

CANNOT_OPEN_DATA_CONNECTION - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CARRIAGE_CONTROL_TEXT_FORMAT - Static variable in class org.apache.commons.net.ftp.FTP
A constant used to indicate a text file contains ASA vertical format control characters.
CDUP - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
cdup() - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP CDUP command to the server, receive the reply, and return the reply code.
CHANGE_TO_PARENT_DIRECTORY - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
CHANGE_WORKING_DIRECTORY - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
changeToParentDirectory() - Method in class org.apache.commons.net.ftp.FTPClient
Change to the parent directory of the current working directory.
changeWorkingDirectory(String) - Method in class org.apache.commons.net.ftp.FTPClient
Change the current working directory of the FTP session.
CHARGEN_PORT - Static variable in class org.apache.commons.net.CharGenUDPClient
The character generator port value of 19 according to RFC 864.
CHARGEN_PORT - Static variable in class org.apache.commons.net.CharGenTCPClient
The character generator port value of 19 according to RFC 864.
CharGenTCPClient - class org.apache.commons.net.CharGenTCPClient.
The CharGenTCPClient class is a TCP implementation of a client for the character generator protocol described in RFC 864.
CharGenTCPClient() - Constructor for class org.apache.commons.net.CharGenTCPClient
The default constructor for CharGenTCPClient.
CharGenUDPClient - class org.apache.commons.net.CharGenUDPClient.
The CharGenUDPClient class is a UDP implementation of a client for the character generator protocol described in RFC 864.
CharGenUDPClient() - Constructor for class org.apache.commons.net.CharGenUDPClient
The default CharGenUDPClient constructor.
close() - Method in class org.apache.commons.net.DatagramSocketClient
Closes the DatagramSocket used for the connection.
close() - Method in class org.apache.commons.net.io.SocketOutputStream
Closes the stream and immediately afterward closes the referenced socket.
close() - Method in class org.apache.commons.net.io.SocketInputStream
Closes the stream and immediately afterward closes the referenced socket.
close() - Method in class org.apache.commons.net.io.FromNetASCIIOutputStream
Closes the stream, writing all pending data.
close() - Method in class org.apache.commons.net.io.DotTerminatedMessageWriter
Flushes the underlying output, writing all buffered output, but doesn't actually close the underlying stream.
close() - Method in class org.apache.commons.net.io.DotTerminatedMessageReader
Closes the message for reading.
CLOSING_CONNECTION - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CLOSING_DATA_CONNECTION - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_100 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_110 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_120 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_125 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_150 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_199 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_200 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_200 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_201 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_202 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_202 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_205 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_211 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_211 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_211 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_212 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_213 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_214 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_214 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_215 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_215 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_215 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_220 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_220 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_220 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_221 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_221 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_221 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_222 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_223 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_225 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_226 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_227 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_230 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_230 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_231 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_235 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_240 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_250 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_250 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_251 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_257 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_331 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_332 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_335 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_340 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_350 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_354 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_400 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_411 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_412 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_420 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_421 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_421 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_421 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_422 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_423 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_425 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_426 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_430 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_435 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_436 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_437 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_440 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_441 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_450 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_450 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_451 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_451 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_452 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_452 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_500 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_500 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_500 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_501 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_501 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_501 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_502 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_502 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_502 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_503 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_503 - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
CODE_503 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_504 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_504 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_530 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_532 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_550 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_550 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_551 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_551 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_552 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_552 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_553 - Static variable in class org.apache.commons.net.ftp.FTPReply
 
CODE_553 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
CODE_554 - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
COMMAND_IS_SUPERFLUOUS - Static variable in class org.apache.commons.net.ftp.FTPReply
 
COMMAND_NOT_IMPLEMENTED - Static variable in class org.apache.commons.net.ftp.FTPReply
 
COMMAND_NOT_IMPLEMENTED - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER - Static variable in class org.apache.commons.net.ftp.FTPReply
 
COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
COMMAND_NOT_RECOGNIZED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
COMMAND_OK - Static variable in class org.apache.commons.net.ftp.FTPReply
 
COMMAND_SYNTAX_ERROR - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
completePendingCommand() - Method in class org.apache.commons.net.ftp.FTPClient
There are a few FTPClient methods that do not complete the entire sequence of FTP commands to complete a transaction.
completePendingCommand() - Method in class org.apache.commons.net.nntp.NNTPClient
There are a few NNTPClient methods that do not complete the entire sequence of NNTP commands to complete a transaction.
completePendingCommand() - Method in class org.apache.commons.net.smtp.SMTPClient
At least one SMTPClient method ( sendMessage ) does not complete the entire sequence of SMTP commands to complete a transaction.
COMPRESSED_TRANSFER_MODE - Static variable in class org.apache.commons.net.ftp.FTP
A constant used to indicate a file is to be transfered as FTP compressed data.
connect(InetAddress) - Method in class org.apache.commons.net.SocketClient
Opens a Socket connected to a remote host at the current default port and originating from the current host at a system assigned port.
connect(InetAddress, int) - Method in class org.apache.commons.net.SocketClient
Opens a Socket connected to a remote host at the specified port and originating from the current host at a system assigned port.
connect(InetAddress, int) - Method in class org.apache.commons.net.bsd.RCommandClient
Opens a Socket connected to a remote host at the specified port and originating from the current host at a port in a range acceptable to the BSD rshell daemon.
connect(InetAddress, int, InetAddress) - Method in class org.apache.commons.net.bsd.RCommandClient
Opens a Socket connected to a remote host at the specified port and originating from the specified local address using a port in a range acceptable to the BSD rshell daemon.
connect(InetAddress, int, InetAddress, int) - Method in class org.apache.commons.net.SocketClient
Opens a Socket connected to a remote host at the specified port and originating from the specified local address and port.
connect(InetAddress, int, InetAddress, int) - Method in class org.apache.commons.net.bsd.RCommandClient
Opens a Socket connected to a remote host at the specified port and originating from the specified local address and port.
connect(String) - Method in class org.apache.commons.net.SocketClient
Opens a Socket connected to a remote host at the current default port and originating from the current host at a system assigned port.
connect(String, int) - Method in class org.apache.commons.net.SocketClient
Opens a Socket connected to a remote host at the specified port and originating from the current host at a system assigned port.
connect(String, int) - Method in class org.apache.commons.net.bsd.RCommandClient
Opens a Socket connected to a remote host at the specified port and originating from the current host at a port in a range acceptable to the BSD rshell daemon.
connect(String, int, InetAddress) - Method in class org.apache.commons.net.bsd.RCommandClient
Opens a Socket connected to a remote host at the specified port and originating from the specified local address using a port in a range acceptable to the BSD rshell daemon.
connect(String, int, InetAddress, int) - Method in class org.apache.commons.net.SocketClient
Opens a Socket connected to a remote host at the specified port and originating from the specified local address and port.
connect(String, int, InetAddress, int) - Method in class org.apache.commons.net.bsd.RCommandClient
Opens a Socket connected to a remote host at the specified port and originating from the specified local address and port.
copyReader(Reader, Writer) - Static method in class org.apache.commons.net.io.Util
Same as copyReader(source, dest, DEFAULT_COPY_BUFFER_SIZE);
copyReader(Reader, Writer, int) - Static method in class org.apache.commons.net.io.Util
Copies the contents of a Reader to a Writer using a copy buffer of a given size.
copyReader(Reader, Writer, int, long, CopyStreamListener) - Static method in class org.apache.commons.net.io.Util
Copies the contents of a Reader to a Writer using a copy buffer of a given size and notifies the provided CopyStreamListener of the progress of the copy operation by calling its bytesTransferred(long, int) method after each write to the destination.
copyStream(InputStream, OutputStream) - Static method in class org.apache.commons.net.io.Util
Same as copyStream(source, dest, DEFAULT_COPY_BUFFER_SIZE);
copyStream(InputStream, OutputStream, int) - Static method in class org.apache.commons.net.io.Util
Copies the contents of an InputStream to an OutputStream using a copy buffer of a given size.
copyStream(InputStream, OutputStream, int, long, CopyStreamListener) - Static method in class org.apache.commons.net.io.Util
Copies the contents of an InputStream to an OutputStream using a copy buffer of a given size and notifies the provided CopyStreamListener of the progress of the copy operation by calling its bytesTransferred(long, int) method after each write to the destination.
CopyStreamAdapter - class org.apache.commons.net.io.CopyStreamAdapter.
The CopyStreamAdapter will relay CopyStreamEvents to a list of listeners when either of its bytesTransferred() methods are called.
CopyStreamAdapter() - Constructor for class org.apache.commons.net.io.CopyStreamAdapter
Creates a new copyStreamAdapter.
CopyStreamEvent - class org.apache.commons.net.io.CopyStreamEvent.
A CopyStreamEvent is triggered after every write performed by a stream copying operation.
CopyStreamEvent(Object, long, int, long) - Constructor for class org.apache.commons.net.io.CopyStreamEvent
Creates a new CopyStreamEvent instance.
CopyStreamException - exception org.apache.commons.net.io.CopyStreamException.
The CopyStreamException class is thrown by the org.apache.commons.io.Util copyStream() methods.
CopyStreamException(String, long, IOException) - Constructor for class org.apache.commons.net.io.CopyStreamException
Creates a new CopyStreamException instance.
CopyStreamListener - interface org.apache.commons.net.io.CopyStreamListener.
The CopyStreamListener class can accept CopyStreamEvents to keep track of the progress of a stream copying operation.
createDatagramSocket() - Method in class org.apache.commons.net.DefaultDatagramSocketFactory
Creates a DatagramSocket on the local host at the first available port.
createDatagramSocket() - Method in interface org.apache.commons.net.DatagramSocketFactory
Creates a DatagramSocket on the local host at the first available port.
createDatagramSocket(int) - Method in class org.apache.commons.net.DefaultDatagramSocketFactory
Creates a DatagramSocket on the local host at a specified port.
createDatagramSocket(int) - Method in interface org.apache.commons.net.DatagramSocketFactory
Creates a DatagramSocket on the local host at a specified port.
createDatagramSocket(int, InetAddress) - Method in class org.apache.commons.net.DefaultDatagramSocketFactory
Creates a DatagramSocket at the specified address on the local host at a specified port.
createDatagramSocket(int, InetAddress) - Method in interface org.apache.commons.net.DatagramSocketFactory
Creates a DatagramSocket at the specified address on the local host at a specified port.
createServerSocket(int) - Method in class org.apache.commons.net.DefaultSocketFactory
Creates a ServerSocket bound to a specified port.
createServerSocket(int) - Method in interface org.apache.commons.net.SocketFactory
Creates a ServerSocket bound to a specified port.
createServerSocket(int, int) - Method in class org.apache.commons.net.DefaultSocketFactory
Creates a ServerSocket bound to a specified port with a given maximum queue length for incoming connections.
createServerSocket(int, int) - Method in interface org.apache.commons.net.SocketFactory
Creates a ServerSocket bound to a specified port with a given maximum queue length for incoming connections.
createServerSocket(int, int, InetAddress) - Method in class org.apache.commons.net.DefaultSocketFactory
Creates a ServerSocket bound to a specified port on a given local address with a given maximum queue length for incoming connections.
createServerSocket(int, int, InetAddress) - Method in interface org.apache.commons.net.SocketFactory
Creates a ServerSocket bound to a specified port on a given local address with a given maximum queue length for incoming connections.
createSocket(InetAddress, int) - Method in class org.apache.commons.net.DefaultSocketFactory
Creates a Socket connected to the given host and port.
createSocket(InetAddress, int) - Method in interface org.apache.commons.net.SocketFactory
Creates a Socket connected to the given host and port.
createSocket(InetAddress, int, InetAddress, int) - Method in class org.apache.commons.net.DefaultSocketFactory
Creates a Socket connected to the given host and port and originating from the specified local address and port.
createSocket(InetAddress, int, InetAddress, int) - Method in interface org.apache.commons.net.SocketFactory
Creates a Socket connected to the given host and port and originating from the specified local address and port.
createSocket(String, int) - Method in class org.apache.commons.net.DefaultSocketFactory
Creates a Socket connected to the given host and port.
createSocket(String, int) - Method in interface org.apache.commons.net.SocketFactory
Creates a Socket connected to the given host and port.
createSocket(String, int, InetAddress, int) - Method in class org.apache.commons.net.DefaultSocketFactory
Creates a Socket connected to the given host and port and originating from the specified local address and port.
createSocket(String, int, InetAddress, int) - Method in interface org.apache.commons.net.SocketFactory
Creates a Socket connected to the given host and port and originating from the specified local address and port.
CWD - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
cwd(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP CWD command to the server, receive the reply, and return the reply code.

D

DATA - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
DATA - Static variable in class org.apache.commons.net.tftp.TFTPPacket
This is the actual TFTP spec identifier and is equal to 3.
DATA_CONNECTION_ALREADY_OPEN - Static variable in class org.apache.commons.net.ftp.FTPReply
 
DATA_CONNECTION_OPEN - Static variable in class org.apache.commons.net.ftp.FTPReply
 
DATA_ENTRY_TERMINAL - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
DATA_PORT - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
data() - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP DATA command to the server, receive the reply, and return the reply code.
DatagramSocketClient - class org.apache.commons.net.DatagramSocketClient.
The DatagramSocketClient provides the basic operations that are required of client objects accessing datagram sockets.
DatagramSocketClient() - Constructor for class org.apache.commons.net.DatagramSocketClient
Default constructor for DatagramSocketClient.
DatagramSocketFactory - interface org.apache.commons.net.DatagramSocketFactory.
The DatagramSocketFactory interface provides a means for the programmer to control the creation of datagram sockets and provide his own DatagramSocket implementations for use by all classes derived from DatagramSocketClient .
DaytimeTCPClient - class org.apache.commons.net.DaytimeTCPClient.
The DaytimeTCPClient class is a TCP implementation of a client for the Daytime protocol described in RFC 867.
DaytimeTCPClient() - Constructor for class org.apache.commons.net.DaytimeTCPClient
The default DaytimeTCPClient constructor.
DaytimeUDPClient - class org.apache.commons.net.DaytimeUDPClient.
The DaytimeUDPClient class is a UDP implementation of a client for the Daytime protocol described in RFC 867.
DaytimeUDPClient() - Constructor for class org.apache.commons.net.DaytimeUDPClient
 
DEBUG_OUTPUT - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
DEFAULT_COPY_BUFFER_SIZE - Static variable in class org.apache.commons.net.io.Util
The default buffer size used by copyStream and copyReader .
DEFAULT_DATA_PORT - Static variable in class org.apache.commons.net.ftp.FTP
The default FTP data port (20).
DEFAULT_HOST - Static variable in class org.apache.commons.net.WhoisClient
The default whois host to query.
DEFAULT_MAX_TIMEOUTS - Static variable in class org.apache.commons.net.tftp.TFTPClient
The default number of times a receive attempt is allowed to timeout before ending attempts to retry the receive and failing.
DEFAULT_PORT - Static variable in class org.apache.commons.net.WhoisClient
The default whois port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.TimeUDPClient
The default time port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.TimeTCPClient
The default time port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.FingerClient
The default FINGER port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.EchoUDPClient
The default echo port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.EchoTCPClient
The default echo port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.DiscardUDPClient
The default discard port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.DiscardTCPClient
The default discard port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.DaytimeUDPClient
The default daytime port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.DaytimeTCPClient
The default daytime port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.CharGenUDPClient
The default chargen port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.CharGenTCPClient
The default chargen port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.bsd.RLoginClient
The default rlogin port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.bsd.RExecClient
The default rexec port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.bsd.RCommandClient
The default rshell port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.ftp.FTP
The default FTP control port (21).
DEFAULT_PORT - Static variable in class org.apache.commons.net.nntp.NNTP
The default NNTP port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.pop3.POP3
The default POP3 port.
DEFAULT_PORT - Static variable in class org.apache.commons.net.smtp.SMTP
The default SMTP port (25).
DEFAULT_PORT - Static variable in class org.apache.commons.net.tftp.TFTP
The default TFTP port according to RFC 783 is 69.
DEFAULT_TIMEOUT - Static variable in class org.apache.commons.net.tftp.TFTP
The default number of milliseconds to wait to receive a datagram before timing out.
DefaultDatagramSocketFactory - class org.apache.commons.net.DefaultDatagramSocketFactory.
DefaultDatagramSocketFactory implements the DatagramSocketFactory interface by simply wrapping the java.net.DatagramSocket constructors.
DefaultDatagramSocketFactory() - Constructor for class org.apache.commons.net.DefaultDatagramSocketFactory
 
DefaultFTPFileListParser - class org.apache.commons.net.ftp.DefaultFTPFileListParser.
DefaultFTPFileListParser is the default implementation of FTPFileListParser used by FTPClient to parse file listings.
DefaultFTPFileListParser() - Constructor for class org.apache.commons.net.ftp.DefaultFTPFileListParser
 
DefaultSocketFactory - class org.apache.commons.net.DefaultSocketFactory.
DefaultSocketFactory implements the SocketFactory interface by simply wrapping the java.net.Socket and java.net.ServerSocket constructors.
DefaultSocketFactory() - Constructor for class org.apache.commons.net.DefaultSocketFactory
 
DELE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
DELE - Static variable in class org.apache.commons.net.pop3.POP3Command
Delete message(s).
dele(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP DELE command to the server, receive the reply, and return the reply code.
DELETE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
deleteFile(String) - Method in class org.apache.commons.net.ftp.FTPClient
Deletes a file on the FTP server.
deleteMessage(int) - Method in class org.apache.commons.net.pop3.POP3Client
Delete a message from the POP3 server.
DIRECTORY_STATUS - Static variable in class org.apache.commons.net.ftp.FTPReply
 
DIRECTORY_TYPE - Static variable in class org.apache.commons.net.ftp.FTPFile
A constant indicating an FTPFile is a directory.
discardPackets() - Method in class org.apache.commons.net.tftp.TFTP
This method synchronizes a connection by discarding all packets that may be in the local socket buffer.
DiscardTCPClient - class org.apache.commons.net.DiscardTCPClient.
The DiscardTCPClient class is a TCP implementation of a client for the Discard protocol described in RFC 863.
DiscardTCPClient() - Constructor for class org.apache.commons.net.DiscardTCPClient
The default DiscardTCPClient constructor.
DiscardUDPClient - class org.apache.commons.net.DiscardUDPClient.
The DiscardUDPClient class is a UDP implementation of a client for the Discard protocol described in RFC 863.
DiscardUDPClient() - Constructor for class org.apache.commons.net.DiscardUDPClient
 
disconnect() - Method in class org.apache.commons.net.SocketClient
Disconnects the socket connection.
disconnect() - Method in class org.apache.commons.net.bsd.RExecClient
Disconnects from the server, closing all associated open sockets and streams.
disconnect() - Method in class org.apache.commons.net.ftp.FTPClient
Closes the connection to the FTP server and restores connection parameters to the default values.
disconnect() - Method in class org.apache.commons.net.ftp.FTP
Closes the control connection to the FTP server and sets to null some internal data so that the memory may be reclaimed by the garbage collector.
disconnect() - Method in class org.apache.commons.net.nntp.NNTP
Closes the connection to the NNTP server and sets to null some internal data so that the memory may be reclaimed by the garbage collector.
disconnect() - Method in class org.apache.commons.net.pop3.POP3
Disconnects the client from the server, and sets the state to DISCONNECTED_STATE .
disconnect() - Method in class org.apache.commons.net.smtp.SMTP
Closes the connection to the SMTP server and sets to null some internal data so that the memory may be reclaimed by the garbage collector.
disconnect() - Method in class org.apache.commons.net.telnet.TelnetClient
Disconnects the telnet session, closing the input and output streams as well as the socket.
DISCONNECTED_STATE - Static variable in class org.apache.commons.net.pop3.POP3
A constant representing the state where the client is not yet connected to a POP3 server.
DM - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Data mark code.
DO - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Request to use option code.
DONT - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Don't use option code.
DotTerminatedMessageReader - class org.apache.commons.net.io.DotTerminatedMessageReader.
DotTerminatedMessageReader is a class used to read messages from a server that are terminated by a single dot followed by a <CR><LF> sequence and with double dots appearing at the begining of lines which do not signal end of message yet start with a dot.
DotTerminatedMessageReader(Reader) - Constructor for class org.apache.commons.net.io.DotTerminatedMessageReader
Creates a DotTerminatedMessageReader that wraps an existing Reader input source.
DotTerminatedMessageWriter - class org.apache.commons.net.io.DotTerminatedMessageWriter.
DotTerminatedMessageWriter is a class used to write messages to a server that are terminated by a single dot followed by a <CR><LF> sequence and with double dots appearing at the begining of lines which do not signal end of message yet start with a dot.
DotTerminatedMessageWriter(Writer) - Constructor for class org.apache.commons.net.io.DotTerminatedMessageWriter
Creates a DotTerminatedMessageWriter that wraps an existing Writer output destination.

E

EBCDIC_FILE_TYPE - Static variable in class org.apache.commons.net.ftp.FTP
A constant used to indicate the file(s) being transfered should be treated as EBCDIC.
EC - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Erase Character code.
ECHO - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
EchoTCPClient - class org.apache.commons.net.EchoTCPClient.
The EchoTCPClient class is a TCP implementation of a client for the Echo protocol described in RFC 862.
EchoTCPClient() - Constructor for class org.apache.commons.net.EchoTCPClient
The default EchoTCPClient constructor.
EchoUDPClient - class org.apache.commons.net.EchoUDPClient.
The EchoUDPClient class is a UDP implementation of a client for the Echo protocol described in RFC 862.
EchoUDPClient() - Constructor for class org.apache.commons.net.EchoUDPClient
 
EL - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Erase Line code.
ENCRYPTION - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
END_OF_RECORD - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
endBufferedOps() - Method in class org.apache.commons.net.tftp.TFTP
Releases the resources used to perform buffered sends and receives.
ENTERING_PASSIVE_MODE - Static variable in class org.apache.commons.net.ftp.FTPReply
 
enterLocalActiveMode() - Method in class org.apache.commons.net.ftp.FTPClient
Set the current data connection mode to ACTIVE_LOCAL_DATA_CONNECTION_MODE.
enterLocalPassiveMode() - Method in class org.apache.commons.net.ftp.FTPClient
Set the current data connection mode to PASSIVE_LOCAL_DATA_CONNECTION_MODE .
enterRemoteActiveMode(InetAddress, int) - Method in class org.apache.commons.net.ftp.FTPClient
Set the current data connection mode to ACTIVE_REMOTE_DATA_CONNECTION .
enterRemotePassiveMode() - Method in class org.apache.commons.net.ftp.FTPClient
Set the current data connection mode to PASSIVE_REMOTE_DATA_CONNECTION_MODE .
EOF - Static variable in class org.apache.commons.net.telnet.TelnetCommand
End of file code.
EOR - Static variable in class org.apache.commons.net.telnet.TelnetCommand
End of record code.
ERROR - Static variable in class org.apache.commons.net.pop3.POP3Reply
The reply code indicating failure of an operation.
ERROR - Static variable in class org.apache.commons.net.tftp.TFTPPacket
This is the actual TFTP spec identifier and is equal to 5.
EXECUTE_PERMISSION - Static variable in class org.apache.commons.net.ftp.FTPFile
A constant indicating file execute permission or directory listing permission.
EXPAND - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
EXPN - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
expn(String) - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP VRFY command to the server, receive the reply, and return the reply code.
EXTENDED_ASCII - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
EXTENDED_OPTIONS_LIST - Static variable in class org.apache.commons.net.telnet.TelnetOption
 

F

FILE_ACTION_NOT_TAKEN - Static variable in class org.apache.commons.net.ftp.FTPReply
 
FILE_ACTION_OK - Static variable in class org.apache.commons.net.ftp.FTPReply
 
FILE_ACTION_PENDING - Static variable in class org.apache.commons.net.ftp.FTPReply
 
FILE_EXISTS - Static variable in class org.apache.commons.net.tftp.TFTPErrorPacket
The file already exists error code according to RFC 783, value 6.
FILE_NAME_NOT_ALLOWED - Static variable in class org.apache.commons.net.ftp.FTPReply
 
FILE_NOT_FOUND - Static variable in class org.apache.commons.net.tftp.TFTPErrorPacket
The file not found error code according to RFC 783, value 1.
FILE_STATUS - Static variable in class org.apache.commons.net.ftp.FTPReply
 
FILE_STATUS_OK - Static variable in class org.apache.commons.net.ftp.FTPReply
 
FILE_STRUCTURE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
FILE_STRUCTURE - Static variable in class org.apache.commons.net.ftp.FTP
A constant used to indicate a file is to be treated as a continuous sequence of bytes.
FILE_TYPE - Static variable in class org.apache.commons.net.ftp.FTPFile
A constant indicating an FTPFile is a file.
FILE_UNAVAILABLE - Static variable in class org.apache.commons.net.ftp.FTPReply
 
FingerClient - class org.apache.commons.net.FingerClient.
The FingerClient class implements the client side of the Internet Finger Protocol defined in RFC 1288.
FingerClient() - Constructor for class org.apache.commons.net.FingerClient
The default FingerClient constructor.
fireCommandSent(String, String) - Method in class org.apache.commons.net.ProtocolCommandSupport
Fires a ProtocolCommandEvent signalling the sending of a command to all registered listeners, invoking their protocolCommandSent() methods.
fireReplyReceived(int, String) - Method in class org.apache.commons.net.ProtocolCommandSupport
Fires a ProtocolCommandEvent signalling the reception of a command reply to all registered listeners, invoking their protocolReplyReceived() methods.
flush() - Method in class org.apache.commons.net.io.DotTerminatedMessageWriter
Flushes the underlying output, writing all buffered output.
FORCE_LOGOUT - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
forwardArticle(String) - Method in class org.apache.commons.net.nntp.NNTPClient
 
FromNetASCIIInputStream - class org.apache.commons.net.io.FromNetASCIIInputStream.
This class wraps an input stream, replacing all occurrences of <CR><LF> (carriage return followed by a linefeed), which is the NETASCII standard for representing a newline, with the local line separator representation.
FromNetASCIIInputStream(InputStream) - Constructor for class org.apache.commons.net.io.FromNetASCIIInputStream
Creates a FromNetASCIIInputStream instance that wraps an existing InputStream.
FromNetASCIIOutputStream - class org.apache.commons.net.io.FromNetASCIIOutputStream.
This class wraps an output stream, replacing all occurrences of <CR><LF> (carriage return followed by a linefeed), which is the NETASCII standard for representing a newline, with the local line separator representation.
FromNetASCIIOutputStream(OutputStream) - Constructor for class org.apache.commons.net.io.FromNetASCIIOutputStream
Creates a FromNetASCIIOutputStream instance that wraps an existing OutputStream.
FTP - class org.apache.commons.net.ftp.FTP.
FTP provides the basic the functionality necessary to implement your own FTP client.
FTP() - Constructor for class org.apache.commons.net.ftp.FTP
The default FTP constructor.
FTPClient - class org.apache.commons.net.ftp.FTPClient.
FTPClient encapsulates all the functionality necessary to store and retrieve files from an FTP server.
FTPClient() - Constructor for class org.apache.commons.net.ftp.FTPClient
Default FTPClient constructor.
FTPCommand - class org.apache.commons.net.ftp.FTPCommand.
FTPCommand stores a set of constants for FTP command codes.
FTPConnectionClosedException - exception org.apache.commons.net.ftp.FTPConnectionClosedException.
FTPConnectionClosedException is used to indicate the premature or unexpected closing of an FTP connection resulting from a FTPReply.SERVICE_NOT_AVAILABLE response (FTP reply code 421) to a failed FTP command.
FTPConnectionClosedException() - Constructor for class org.apache.commons.net.ftp.FTPConnectionClosedException
Constructs a FTPConnectionClosedException with no message
FTPConnectionClosedException(String) - Constructor for class org.apache.commons.net.ftp.FTPConnectionClosedException
Constructs a FTPConnectionClosedException with a specified message.
FTPFile - class org.apache.commons.net.ftp.FTPFile.
The FTPFile class is used to represent information about files stored on an FTP server.
FTPFile() - Constructor for class org.apache.commons.net.ftp.FTPFile
Creates an empty FTPFile.
FTPFileListParser - interface org.apache.commons.net.ftp.FTPFileListParser.
FTPFileListParser defines the interface for parsing FTP file listings and converting that information into an array of FTPFile instances.
FTPReply - class org.apache.commons.net.ftp.FTPReply.
FTPReply stores a set of constants for FTP reply codes.

G

GA - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Go Ahead code.
getAdditionalReply() - Method in class org.apache.commons.net.pop3.POP3
Retrieves the additional lines of a multi-line server reply.
getAddress() - Method in class org.apache.commons.net.tftp.TFTPPacket
Returns the address of the host where the packet is going to be sent or where it came from.
getArticleCount() - Method in class org.apache.commons.net.nntp.NewsgroupInfo
Get the estimated number of articles in the newsgroup.
getBlockNumber() - Method in class org.apache.commons.net.tftp.TFTPDataPacket
Returns the block number of the data packet.
getBlockNumber() - Method in class org.apache.commons.net.tftp.TFTPAckPacket
Returns the block number of the acknowledgement.
getBytesTransferred() - Method in class org.apache.commons.net.io.CopyStreamEvent
Returns the number of bytes transferred by the write that triggered the event.
getCommand() - Method in class org.apache.commons.net.ProtocolCommandEvent
Returns the string representation of the command type sent (e.g., "STAT" or "GET").
getCommand(int) - Static method in class org.apache.commons.net.ftp.FTPCommand
Retrieve the FTP protocol command string corresponding to a specified command code.
getCommand(int) - Static method in class org.apache.commons.net.nntp.NNTPCommand
Retrieve the NNTP protocol command string corresponding to a specified command code.
getCommand(int) - Static method in class org.apache.commons.net.pop3.POP3Command
Get the POP3 protocol string command corresponding to a command code.
getCommand(int) - Static method in class org.apache.commons.net.smtp.SMTPCommand
Retrieve the SMTP protocol command string corresponding to a specified command code.
getCommand(int) - Static method in class org.apache.commons.net.telnet.TelnetCommand
Returns the string representation of the telnet protocol command corresponding to the given command code.
getData() - Method in class org.apache.commons.net.tftp.TFTPDataPacket
Returns the byte array containing the packet data.
getDataConnectionMode() - Method in class org.apache.commons.net.ftp.FTPClient
Returns the current data connection mode (one of the _DATA_CONNECTION_MODE constants.
getDataLength() - Method in class org.apache.commons.net.tftp.TFTPDataPacket
Returns the length of the data part of the data packet.
getDataOffset() - Method in class org.apache.commons.net.tftp.TFTPDataPacket
Returns the offset into the byte array where the packet data actually starts.
getDate() - Method in class org.apache.commons.net.TimeTCPClient
Retrieves the time from the server and returns a Java Date containing the time converted to the local timezone.
getDate() - Method in class org.apache.commons.net.nntp.NewGroupsOrNewsQuery
Return the NNTP query formatted date (year, month, day in the form YYMMDD.
getDate(InetAddress) - Method in class org.apache.commons.net.TimeUDPClient
Same as getTime(host, DEFAULT_PORT);
getDate(InetAddress, int) - Method in class org.apache.commons.net.TimeUDPClient
Retrieves the time from the server and returns a Java Date containing the time converted to the local timezone.
getDefaultPort() - Method in class org.apache.commons.net.SocketClient
Returns the current value of the default port (stored in _defaultPort_ ).
getDefaultTimeout() - Method in class org.apache.commons.net.DatagramSocketClient
Returns the default timeout in milliseconds that is used when opening a socket.
getDefaultTimeout() - Method in class org.apache.commons.net.SocketClient
Returns the default timeout in milliseconds that is used when opening a socket.
getDistributions() - Method in class org.apache.commons.net.nntp.NewGroupsOrNewsQuery
Return the comma separated list of distributions.
getError() - Method in class org.apache.commons.net.tftp.TFTPErrorPacket
Returns the error code of the packet.
getErrorStream() - Method in class org.apache.commons.net.bsd.RExecClient
Returns the InputStream from which the standard error of the remote process can be read if a separate error stream is requested from the server.
getFilename() - Method in class org.apache.commons.net.tftp.TFTPRequestPacket
Returns the requested filename.
getFirstArticle() - Method in class org.apache.commons.net.nntp.NewsgroupInfo
Get the number of the first article in the newsgroup.
getFromAddress() - Method in class org.apache.commons.net.nntp.SimpleNNTPHeader
Returns the address used in the From: header field.
getGroup() - Method in class org.apache.commons.net.ftp.FTPFile
Returns the name of the group owning the file.
getHardLinkCount() - Method in class org.apache.commons.net.ftp.FTPFile
Return the number of hard links to this file.
getInputStream() - Method in class org.apache.commons.net.EchoTCPClient
Returns an InputStream from which you may read echoed data from the server.
getInputStream() - Method in class org.apache.commons.net.CharGenTCPClient
Returns an InputStream from which the server generated data can be read.
getInputStream() - Method in class org.apache.commons.net.bsd.RExecClient
Returns the InputStream from which the standard outputof the remote process can be read.
getInputStream() - Method in class org.apache.commons.net.telnet.TelnetClient
Returns the telnet connection input stream.
getInputStream(boolean) - Method in class org.apache.commons.net.FingerClient
Fingers the connected host and returns the input stream from the network connection of the finger query.
getInputStream(boolean, String) - Method in class org.apache.commons.net.FingerClient
Fingers a user and returns the input stream from the network connection of the finger query.
getInputStream(String) - Method in class org.apache.commons.net.WhoisClient
Queries the connected whois server for information regarding the given handle and returns the InputStream of the network connection.
getIOException() - Method in class org.apache.commons.net.io.CopyStreamException
Returns the IOException responsible for the failure of a copy operation.
getLastArticle() - Method in class org.apache.commons.net.nntp.NewsgroupInfo
Get the number of the last article in the newsgroup.
getLink() - Method in class org.apache.commons.net.ftp.FTPFile
If the FTPFile is a symbolic link, this method returns the name of the file being pointed to by the symbolic link.
getListenerCount() - Method in class org.apache.commons.net.ProtocolCommandSupport
Returns the number of ProtocolCommandListeners currently registered.
getListenerCount() - Method in class org.apache.commons.net.util.ListenerList
 
getListeners() - Method in class org.apache.commons.net.util.ListenerList
 
getLocalAddress() - Method in class org.apache.commons.net.DatagramSocketClient
Returns the local address to which the client's socket is bound.
getLocalAddress() - Method in class org.apache.commons.net.SocketClient
Returns the local address to which the client's socket is bound.
getLocalPort() - Method in class org.apache.commons.net.DatagramSocketClient
Returns the port number of the open socket on the local host used for the connection.
getLocalPort() - Method in class org.apache.commons.net.SocketClient
Returns the port number of the open socket on the local host used for the connection.
getMaxTimeouts() - Method in class org.apache.commons.net.tftp.TFTPClient
Returns the maximum number of times a receive attempt is allowed to timeout before ending attempts to retry the receive and failing.
getMessage() - Method in class org.apache.commons.net.ProtocolCommandEvent
Returns the entire message sent to or received from the server.
getMessage() - Method in class org.apache.commons.net.tftp.TFTPErrorPacket
Returns the error message of the packet.
getMode() - Method in class org.apache.commons.net.tftp.TFTPRequestPacket
Returns the transfer mode of the request.
getModeName(int) - Static method in class org.apache.commons.net.tftp.TFTP
Returns the TFTP string representation of a TFTP transfer mode.
getName() - Method in class org.apache.commons.net.ftp.FTPFile
Return the name of the file.
getNewsgroup() - Method in class org.apache.commons.net.nntp.NewsgroupInfo
Get the newsgroup name.
getNewsgroups() - Method in class org.apache.commons.net.nntp.SimpleNNTPHeader
Returns the contents of the Newsgroups: header field.
getNewsgroups() - Method in class org.apache.commons.net.nntp.NewGroupsOrNewsQuery
Return the comma separated list of newsgroups.
getOption(int) - Static method in class org.apache.commons.net.telnet.TelnetOption
Returns the string representation of the telnet protocol option corresponding to the given option code.
getOutputStream() - Method in class org.apache.commons.net.DiscardTCPClient
Returns an OutputStream through which you may write data to the server.
getOutputStream() - Method in class org.apache.commons.net.bsd.RExecClient
Returns the OutputStream through which the standard input of the remote process can be written.
getOutputStream() - Method in class org.apache.commons.net.telnet.TelnetClient
Returns the telnet connection output stream.
getPassiveHost() - Method in class org.apache.commons.net.ftp.FTPClient
Returns the hostname or IP address (in the form of a string) returned by the server when entering passive mode.
getPassivePort() - Method in class org.apache.commons.net.ftp.FTPClient
If in passive mode, returns the data port of the passive host.
getPort() - Method in class org.apache.commons.net.tftp.TFTPPacket
Returns the port where the packet is going to be sent or where it came from.
getPostingPermission() - Method in class org.apache.commons.net.nntp.NewsgroupInfo
Get the posting permission of the newsgroup.
getRawListing() - Method in class org.apache.commons.net.ftp.FTPFile
Get the original FTP server raw listing used to initialize the FTPFile.
getRemoteAddress() - Method in class org.apache.commons.net.SocketClient
 
getRemotePort() - Method in class org.apache.commons.net.SocketClient
Returns the port number of the remote host to which the client is connected.
getReply() - Method in class org.apache.commons.net.ftp.FTP
Fetches a reply from the FTP server and returns the integer reply code.
getReply() - Method in class org.apache.commons.net.nntp.NNTP
Fetches a reply from the NNTP server and returns the integer reply code.
getReply() - Method in class org.apache.commons.net.smtp.SMTP
Fetches a reply from the SMTP server and returns the integer reply code.
getReplyCode() - Method in class org.apache.commons.net.ProtocolCommandEvent
Returns the reply code of the received server reply.
getReplyCode() - Method in class org.apache.commons.net.ftp.FTP
Returns the integer value of the reply code of the last FTP reply.
getReplyCode() - Method in class org.apache.commons.net.nntp.NNTP
Returns the integer value of the reply code of the last NNTP reply.
getReplyCode() - Method in class org.apache.commons.net.smtp.SMTP
Returns the integer value of the reply code of the last SMTP reply.
getReplyString() - Method in class org.apache.commons.net.ftp.FTP
Returns the entire text of the last FTP server response exactly as it was received, including all end of line markers in NETASCII format.
getReplyString() - Method in class org.apache.commons.net.nntp.NNTP
Returns the entire text of the last NNTP server response exactly as it was received, not including the end of line marker.
getReplyString() - Method in class org.apache.commons.net.pop3.POP3
Returns the reply to the last command sent to the server.
getReplyString() - Method in class org.apache.commons.net.smtp.SMTP
Returns the entire text of the last SMTP server response exactly as it was received, including all end of line markers in NETASCII format.
getReplyStrings() - Method in class org.apache.commons.net.ftp.FTP
Returns the lines of text from the last FTP server response as an array of strings, one entry per line.
getReplyStrings() - Method in class org.apache.commons.net.pop3.POP3
Returns an array of lines received as a reply to the last command sent to the server.
getReplyStrings() - Method in class org.apache.commons.net.smtp.SMTP
Returns the lines of text from the last SMTP server response as an array of strings, one entry per line.
getRestartOffset() - Method in class org.apache.commons.net.ftp.FTPClient
Fetches the restart offset.
getSize() - Method in class org.apache.commons.net.ftp.FTPFile
Return the file size in bytes.
getSoLinger() - Method in class org.apache.commons.net.SocketClient
Returns the current SO_LINGER timeout of the currently opened socket.
getSoTimeout() - Method in class org.apache.commons.net.DatagramSocketClient
Returns the timeout in milliseconds of the currently opened socket.
getSoTimeout() - Method in class org.apache.commons.net.SocketClient
Returns the timeout in milliseconds of the currently opened socket.
getState() - Method in class org.apache.commons.net.pop3.POP3
Returns the current POP3 client state.
getStatus() - Method in class org.apache.commons.net.ftp.FTPClient
Issue the FTP STAT command to the server.
getStatus(String) - Method in class org.apache.commons.net.ftp.FTPClient
Issue the FTP STAT command to the server for a given pathname.
getStreamSize() - Method in class org.apache.commons.net.io.CopyStreamEvent
Returns the size of the stream being copied.
getSubject() - Method in class org.apache.commons.net.nntp.SimpleNNTPHeader
Returns the subject used in the Subject: header field.
getSystemName() - Method in class org.apache.commons.net.ftp.FTPClient
Fetches the system type name from the server and returns the string.
getTcpNoDelay() - Method in class org.apache.commons.net.SocketClient
Returns true if Nagle's algorithm is enabled on the currently opened socket.
getTime() - Method in class org.apache.commons.net.TimeTCPClient
Retrieves the time from the server and returns it.
getTime() - Method in class org.apache.commons.net.DaytimeTCPClient
Retrieves the time string from the server and returns it.
getTime() - Method in class org.apache.commons.net.nntp.NewGroupsOrNewsQuery
Return the NNTP query formatted time (hour, minutes, seconds in the form HHMMSS.
getTime(InetAddress) - Method in class org.apache.commons.net.TimeUDPClient
Same as getTime(host, DEFAULT_PORT);
getTime(InetAddress) - Method in class org.apache.commons.net.DaytimeUDPClient
Same as getTime(host, DaytimeUDPClient.DEFAULT_PORT);
getTime(InetAddress, int) - Method in class org.apache.commons.net.TimeUDPClient
Retrieves the time from the specified server and port and returns it.
getTime(InetAddress, int) - Method in class org.apache.commons.net.DaytimeUDPClient
Retrieves the time string from the specified server and port and returns it.
getTimestamp() - Method in class org.apache.commons.net.ftp.FTPFile
Returns the file timestamp.
getTotalBytesTransferred() - Method in class org.apache.commons.net.io.CopyStreamException
Returns the total number of bytes confirmed to have been transferred by a failed copy operation.
getTotalBytesTransferred() - Method in class org.apache.commons.net.io.CopyStreamEvent
Returns the total number of bytes transferred so far by the copy operation.
getType() - Method in class org.apache.commons.net.ftp.FTPFile
Return the type of the file (one of the _TYPE constants), e.g., if it is a directory, a regular file, or a symbolic link.
getType() - Method in class org.apache.commons.net.tftp.TFTPPacket
Returns the type of the packet.
getUser() - Method in class org.apache.commons.net.ftp.FTPFile
Returns the name of the user owning the file.
GROUP - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
GROUP_ACCESS - Static variable in class org.apache.commons.net.ftp.FTPFile
A constant indicating group access permissions.
GROUP_SELECTED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
group(String) - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP GROUP command to the server, receive the reply, and return the reply code.

H

hasPermission(int, int) - Method in class org.apache.commons.net.ftp.FTPFile
Determines if the given access group (one of the _ACCESS constants) has the given access permission (one of the _PERMISSION constants) to the file.
HEAD - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
head() - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP HEAD command to the server, receive the initial reply, and return the reply code.
head(int) - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP HEAD command to the server, receive the initial reply, and return the reply code.
head(String) - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP HEAD command to the server, receive the initial reply, and return the reply code.
HELLO - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
HELO - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
helo(String) - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP HELO command to the server, receive the reply, and return the reply code.
HELP - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
HELP - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
HELP - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
HELP_MESSAGE - Static variable in class org.apache.commons.net.ftp.FTPReply
 
HELP_MESSAGE - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
HELP_TEXT_FOLLOWS - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
help() - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP HELP command to the server, receive the reply, and return the reply code.
help() - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP HELP command to the server, receive the reply, and return the reply code.
help() - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP HELP command to the server, receive the reply, and return the reply code.
help(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP HELP command to the server, receive the reply, and return the reply code.
help(String) - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP HELP command to the server, receive the reply, and return the reply code.

I

IAC - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Interpret As Command code.
identifier - Variable in class org.apache.commons.net.pop3.POP3MessageInfo
 
IHAVE - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
ihave(String) - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP IHAVE command to the server, receive the reply, and return the reply code.
ILLEGAL_OPERATION - Static variable in class org.apache.commons.net.tftp.TFTPErrorPacket
The illegal TFTP operation error code according to RFC 783, value 4.
IMAGE_FILE_TYPE - Static variable in class org.apache.commons.net.ftp.FTP
A constant used to indicate the file(s) being transfered should be treated as a binary image, i.e., no translations should be performed.
IMAGE_MODE - Static variable in class org.apache.commons.net.tftp.TFTP
The image transfer mode.
INSUFFICIENT_STORAGE - Static variable in class org.apache.commons.net.ftp.FTPReply
 
INSUFFICIENT_STORAGE - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
IP - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Interrupt Process code.
isAllowedToPost() - Method in class org.apache.commons.net.nntp.NNTP
Indicates whether or not the client is allowed to post articles to the server it is currently connected to.
isCommand() - Method in class org.apache.commons.net.ProtocolCommandEvent
Returns true if the ProtocolCommandEvent was generated as a result of sending a command.
isConnected() - Method in class org.apache.commons.net.SocketClient
Returns true if the client is currently connected to a server.
isConversionRequired() - Static method in class org.apache.commons.net.io.FromNetASCIIInputStream
Returns true if the NetASCII line separator differs from the system line separator, false if they are the same.
isDirectory() - Method in class org.apache.commons.net.ftp.FTPFile
Determine if the file is a directory.
isFile() - Method in class org.apache.commons.net.ftp.FTPFile
Determine if the file is a regular file.
isGMT() - Method in class org.apache.commons.net.nntp.NewGroupsOrNewsQuery
Return whether or not the query date should be treated as GMT.
isInformational(int) - Static method in class org.apache.commons.net.nntp.NNTPReply
Determine if a reply code is an informational response.
isNegativePermanent(int) - Static method in class org.apache.commons.net.ftp.FTPReply
Determine if a reply code is a negative permanent response.
isNegativePermanent(int) - Static method in class org.apache.commons.net.nntp.NNTPReply
Determine if a reply code is a negative permanent response.
isNegativePermanent(int) - Static method in class org.apache.commons.net.smtp.SMTPReply
Determine if a reply code is a negative permanent response.
isNegativeTransient(int) - Static method in class org.apache.commons.net.ftp.FTPReply
Determine if a reply code is a negative transient response.
isNegativeTransient(int) - Static method in class org.apache.commons.net.nntp.NNTPReply
Determine if a reply code is a negative transient response.
isNegativeTransient(int) - Static method in class org.apache.commons.net.smtp.SMTPReply
Determine if a reply code is a negative transient response.
isOpen() - Method in class org.apache.commons.net.DatagramSocketClient
Returns true if the client has a currently open socket.
isPositiveCompletion(int) - Static method in class org.apache.commons.net.ftp.FTPReply
Determine if a reply code is a positive completion response.
isPositiveCompletion(int) - Static method in class org.apache.commons.net.nntp.NNTPReply
Determine if a reply code is a positive completion response.
isPositiveCompletion(int) - Static method in class org.apache.commons.net.smtp.SMTPReply
Determine if a reply code is a positive completion response.
isPositiveIntermediate(int) - Static method in class org.apache.commons.net.ftp.FTPReply
Determine if a reply code is a positive intermediate response.
isPositiveIntermediate(int) - Static method in class org.apache.commons.net.nntp.NNTPReply
Determine if a reply code is a positive intermediate response.
isPositiveIntermediate(int) - Static method in class org.apache.commons.net.smtp.SMTPReply
Determine if a reply code is a positive intermediate response.
isPositivePreliminary(int) - Static method in class org.apache.commons.net.ftp.FTPReply
Determine if a reply code is a positive preliminary response.
isPositivePreliminary(int) - Static method in class org.apache.commons.net.smtp.SMTPReply
Determine if a reply code is a positive preliminary response.
isRemoteVerificationEnabled() - Method in class org.apache.commons.net.bsd.RExecClient
Return whether or not verification of the remote host providing a separate error stream is enabled.
isRemoteVerificationEnabled() - Method in class org.apache.commons.net.ftp.FTPClient
Return whether or not verification of the remote host participating in data connections is enabled.
isReply() - Method in class org.apache.commons.net.ProtocolCommandEvent
Returns true if the ProtocolCommandEvent was generated as a result of receiving a reply.
isSymbolicLink() - Method in class org.apache.commons.net.ftp.FTPFile
Determine if the file is a symbolic link.
isUnknown() - Method in class org.apache.commons.net.ftp.FTPFile
Determine if the type of the file is unknown.
isValidCommand(int) - Static method in class org.apache.commons.net.telnet.TelnetCommand
Determines if a given command code is valid.
isValidOption(int) - Static method in class org.apache.commons.net.telnet.TelnetOption
Determines if a given option code is valid.

L

LAST - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
last() - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP LAST command to the server, receive the reply, and return the reply code.
LINEMODE - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
LIST - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
LIST - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
LIST - Static variable in class org.apache.commons.net.pop3.POP3Command
List message(s).
list() - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP LIST command to the server, receive the reply, and return the reply code.
list() - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP LIST command to the server, receive the reply, and return the reply code.
list(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP LIST command to the server, receive the reply, and return the reply code.
ListenerList - class org.apache.commons.net.util.ListenerList.
 
ListenerList() - Constructor for class org.apache.commons.net.util.ListenerList
 
listFiles() - Method in class org.apache.commons.net.ftp.FTPClient
Using the DefaultFTPFileListParser , obtain a list of file information for the current working directory.
listFiles(FTPFileListParser) - Method in class org.apache.commons.net.ftp.FTPClient
Using a programmer specified FTPFileListParser , obtain a list of file information for the current working directory.
listFiles(FTPFileListParser, String) - Method in class org.apache.commons.net.ftp.FTPClient
Using a programmer specified FTPFileListParser , obtain a list of file information for a directory or information for just a single file.
listFiles(String) - Method in class org.apache.commons.net.ftp.FTPClient
Using the DefaultFTPFileListParser , obtain a list of file information for a directory or information for just a single file.
listHelp() - Method in class org.apache.commons.net.ftp.FTPClient
Fetches the system help information from the server and returns the full string.
listHelp() - Method in class org.apache.commons.net.nntp.NNTPClient
List the command help from the server.
listHelp() - Method in class org.apache.commons.net.smtp.SMTPClient
Fetches the system help information from the server and returns the full string.
listHelp(String) - Method in class org.apache.commons.net.ftp.FTPClient
Fetches the help information for a given command from the server and returns the full string.
listHelp(String) - Method in class org.apache.commons.net.smtp.SMTPClient
Fetches the help information for a given command from the server and returns the full string.
listMessage(int) - Method in class org.apache.commons.net.pop3.POP3Client
List an individual message.
listMessages() - Method in class org.apache.commons.net.pop3.POP3Client
List all messages.
listNames() - Method in class org.apache.commons.net.ftp.FTPClient
Obtain a list of filenames in the current working directory This information is obtained through the NLST command.
listNames(String) - Method in class org.apache.commons.net.ftp.FTPClient
Obtain a list of filenames in a directory (or just the name of a given file, which is not particularly useful).
listNewNews(NewGroupsOrNewsQuery) - Method in class org.apache.commons.net.nntp.NNTPClient
List all new articles added to the NNTP server since a particular date subject to the conditions of the specified query.
listNewNewsgroups(NewGroupsOrNewsQuery) - Method in class org.apache.commons.net.nntp.NNTPClient
List all new newsgroups added to the NNTP server since a particular date subject to the conditions of the specified query.
listNewsgroups() - Method in class org.apache.commons.net.nntp.NNTPClient
List all newsgroups served by the NNTP server.
listUniqueIdentifier(int) - Method in class org.apache.commons.net.pop3.POP3Client
List the unique identifier for a message.
listUniqueIdentifiers() - Method in class org.apache.commons.net.pop3.POP3Client
List the unique identifiers for all messages.
LOCAL_FILE_TYPE - Static variable in class org.apache.commons.net.ftp.FTP
A constant used to indicate the file(s) being transfered should be treated as a local type.
LOGIN - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
login() - Method in class org.apache.commons.net.smtp.SMTPClient
Login to the SMTP server by sending the HELO command with the client hostname as an argument.
login(String) - Method in class org.apache.commons.net.smtp.SMTPClient
Login to the SMTP server by sending the HELO command with the given hostname as an argument.
login(String, String) - Method in class org.apache.commons.net.ftp.FTPClient
Login to the FTP server using the provided username and password.
login(String, String) - Method in class org.apache.commons.net.pop3.POP3Client
Login to the POP3 server with the given username and password.
login(String, String, String) - Method in class org.apache.commons.net.ftp.FTPClient
Login to the FTP server using the provided username, password, and account.
login(String, String, String) - Method in class org.apache.commons.net.pop3.POP3Client
Login to the POP3 server with the given username and authentication information.
LOGOUT - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
LOGOUT - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
logout() - Method in class org.apache.commons.net.ftp.FTPClient
Logout of the FTP server by sending the QUIT command.
logout() - Method in class org.apache.commons.net.nntp.NNTPClient
Logs out of the news server gracefully by sending the QUIT command.
logout() - Method in class org.apache.commons.net.pop3.POP3Client
Logout of the POP3 server.
logout() - Method in class org.apache.commons.net.smtp.SMTPClient
Logout of the SMTP server by sending the QUIT command.

M

MAIL - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
MAIL_FROM - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
mail(String) - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP MAIL command to the server, receive the reply, and return the reply code.
MAILBOX_NAME_NOT_ALLOWED - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
MAILBOX_UNAVAILABLE - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
MAKE_DIRECTORY - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
makeDirectory(String) - Method in class org.apache.commons.net.ftp.FTPClient
Creates a new subdirectory on the FTP server in the current directory (if a relative pathname is given) or where specified (if an absolute pathname is given).
MalformedServerReplyException - exception org.apache.commons.net.MalformedServerReplyException.
This exception is used to indicate that the reply from a server could not be interpreted.
MalformedServerReplyException() - Constructor for class org.apache.commons.net.MalformedServerReplyException
Constructs a MalformedServerReplyException with no message
MalformedServerReplyException(String) - Constructor for class org.apache.commons.net.MalformedServerReplyException
Constructs a MalformedServerReplyException with a specified message.
markSupported() - Method in class org.apache.commons.net.io.ToNetASCIIInputStream
Returns false.
MAX_CLIENT_PORT - Static variable in class org.apache.commons.net.bsd.RCommandClient
The largest port number an rcmd client may use.
MAX_COMMAND_VALUE - Static variable in class org.apache.commons.net.telnet.TelnetCommand
The maximum value a command code can have.
MAX_DATA_LENGTH - Static variable in class org.apache.commons.net.tftp.TFTPDataPacket
The maximum number of bytes in a TFTP data packet (512)
MAX_OPTION_VALUE - Static variable in class org.apache.commons.net.telnet.TelnetOption
The maximum value an option code can have.
MIN_CLIENT_PORT - Static variable in class org.apache.commons.net.bsd.RCommandClient
The smallest port number an rcmd client may use.
MIN_DATA_LENGTH - Static variable in class org.apache.commons.net.tftp.TFTPDataPacket
The minimum number of bytes in a TFTP data packet (0)
MKD - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
mkd(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP MKD command to the server, receive the reply, and return the reply code.
MODE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
mode(int) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP MODE command to the server, receive the reply, and return the reply code.
MODERATED_POSTING_PERMISSION - Static variable in class org.apache.commons.net.nntp.NewsgroupInfo
A constant indicating that a newsgroup is moderated.

N

NAME_LIST - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
NAME_SYSTEM_TYPE - Static variable in class org.apache.commons.net.ftp.FTPReply
 
NEED_ACCOUNT - Static variable in class org.apache.commons.net.ftp.FTPReply
 
NEED_ACCOUNT_FOR_STORING_FILES - Static variable in class org.apache.commons.net.ftp.FTPReply
 
NEED_PASSWORD - Static variable in class org.apache.commons.net.ftp.FTPReply
 
NEGOTIATE_CARRIAGE_RETURN - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
NEGOTIATE_FORMFEED - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
NEGOTIATE_HORIZONTAL_TAB - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
NEGOTIATE_HORIZONTAL_TAB_STOP - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
NEGOTIATE_LINEFEED - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
NEGOTIATE_OUTPUT_LINE_WIDTH - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
NEGOTIATE_OUTPUT_PAGE_SIZE - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
NEGOTIATE_VERTICAL_TAB - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
NEGOTIATE_VERTICAL_TAB_STOP - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
NETASCII_EOL - Static variable in class org.apache.commons.net.SocketClient
The end of line character sequence used by most IETF protocols.
NETASCII_MODE - Static variable in class org.apache.commons.net.tftp.TFTP
The netascii transfer mode.
NETSTAT_PORT - Static variable in class org.apache.commons.net.CharGenUDPClient
The netstat port value of 19.
NETSTAT_PORT - Static variable in class org.apache.commons.net.CharGenTCPClient
The netstat port value of 19.
NEW_ENVIRONMENT_VARIABLES - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
NEW_NEWSGROUP_LIST_FOLLOWS - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
newDatagram() - Method in class org.apache.commons.net.tftp.TFTPRequestPacket
Creates a UDP datagram containing all the TFTP request packet data in the proper format.
newDatagram() - Method in class org.apache.commons.net.tftp.TFTPErrorPacket
Creates a UDP datagram containing all the TFTP error packet data in the proper format.
newDatagram() - Method in class org.apache.commons.net.tftp.TFTPDataPacket
Creates a UDP datagram containing all the TFTP data packet data in the proper format.
newDatagram() - Method in class org.apache.commons.net.tftp.TFTPAckPacket
Creates a UDP datagram containing all the TFTP acknowledgement packet data in the proper format.
newDatagram() - Method in class org.apache.commons.net.tftp.TFTPPacket
Creates a UDP datagram containing all the TFTP packet data in the proper format.
NEWGROUPS - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
newgroups(String, String, boolean, String) - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP NEWGROUPS command to the server, receive the reply, and return the reply code.
NewGroupsOrNewsQuery - class org.apache.commons.net.nntp.NewGroupsOrNewsQuery.
The NewGroupsOrNewsQuery class.
NewGroupsOrNewsQuery(Calendar, boolean) - Constructor for class org.apache.commons.net.nntp.NewGroupsOrNewsQuery
Creates a new query using the given time as a reference point.
NEWNEWS - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
newnews(String, String, String, boolean, String) - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP NEWGROUPS command to the server, receive the reply, and return the reply code.
NewsgroupInfo - class org.apache.commons.net.nntp.NewsgroupInfo.
NewsgroupInfo stores information pertaining to a newsgroup returned by the NNTP GROUP, LIST, and NEWGROUPS commands, implemented by selectNewsgroup , listNewsgroups , and listNewNewsgroups respectively.
NewsgroupInfo() - Constructor for class org.apache.commons.net.nntp.NewsgroupInfo
 
newTFTPPacket(DatagramPacket) - Static method in class org.apache.commons.net.tftp.TFTPPacket
When you receive a datagram that you expect to be a TFTP packet, you use this factory method to create the proper TFTPPacket object encapsulating the data contained in that datagram.
NEXT - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
next() - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP NEXT command to the server, receive the reply, and return the reply code.
NLST - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
nlst() - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP NLST command to the server, receive the reply, and return the reply code.
nlst(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP NLST command to the server, receive the reply, and return the reply code.
NNTP - class org.apache.commons.net.nntp.NNTP.
The NNTP class is not meant to be used by itself and is provided only so that you may easily implement your own NNTP client if you so desire.
NNTP() - Constructor for class org.apache.commons.net.nntp.NNTP
The default NNTP constructor.
NNTPClient - class org.apache.commons.net.nntp.NNTPClient.
NNTPClient encapsulates all the functionality necessary to post and retrieve articles from an NNTP server.
NNTPClient() - Constructor for class org.apache.commons.net.nntp.NNTPClient
 
NNTPCommand - class org.apache.commons.net.nntp.NNTPCommand.
NNTPCommand stores a set of constants for NNTP command codes.
NNTPConnectionClosedException - exception org.apache.commons.net.nntp.NNTPConnectionClosedException.
NNTPConnectionClosedException is used to indicate the premature or unexpected closing of an NNTP connection resulting from a NNTPReply.SERVICE_DISCONTINUED response (NNTP reply code 400) to a failed NNTP command.
NNTPConnectionClosedException() - Constructor for class org.apache.commons.net.nntp.NNTPConnectionClosedException
Constructs a NNTPConnectionClosedException with no message
NNTPConnectionClosedException(String) - Constructor for class org.apache.commons.net.nntp.NNTPConnectionClosedException
Constructs a NNTPConnectionClosedException with a specified message.
NNTPReply - class org.apache.commons.net.nntp.NNTPReply.
NNTPReply stores a set of constants for NNTP reply codes.
NO_CURRENT_ARTICLE_SELECTED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
NO_NEWSGROUP_SELECTED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
NO_NEXT_ARTICLE - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
NO_PREVIOUS_ARTICLE - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
NO_SUCH_ARTICLE_FOUND - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
NO_SUCH_ARTICLE_NUMBER - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
NO_SUCH_NEWSGROUP - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
NO_SUCH_USER - Static variable in class org.apache.commons.net.tftp.TFTPErrorPacket
The no such user error code according to RFC 783, value 7.
NON_PRINT_TEXT_FORMAT - Static variable in class org.apache.commons.net.ftp.FTP
A constant used for text files to indicate a non-print text format.
NOOP - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
NOOP - Static variable in class org.apache.commons.net.pop3.POP3Command
No operation.
NOOP - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
noop() - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP NOOP command to the server, receive the reply, and return the reply code.
noop() - Method in class org.apache.commons.net.pop3.POP3Client
Send a NOOP command to the POP3 server.
noop() - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP NOOP command to the server, receive the reply, and return the reply code.
NOP - Static variable in class org.apache.commons.net.telnet.TelnetCommand
No Operation code.
NOT_LOGGED_IN - Static variable in class org.apache.commons.net.ftp.FTPReply
 
number - Variable in class org.apache.commons.net.pop3.POP3MessageInfo
 

O

OCTET_MODE - Static variable in class org.apache.commons.net.tftp.TFTP
The octet transfer mode.
OK - Static variable in class org.apache.commons.net.pop3.POP3Reply
The reply code indicating success of an operation.
OLD_ENVIRONMENT_VARIABLES - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
omitNewsgroup(String) - Method in class org.apache.commons.net.nntp.NewGroupsOrNewsQuery
Add a newsgroup to the list of newsgroups being queried, but indicate that group should not be checked for new news.
open() - Method in class org.apache.commons.net.DatagramSocketClient
Opens a DatagramSocket on the local host at the first available port.
open(int) - Method in class org.apache.commons.net.DatagramSocketClient
Opens a DatagramSocket on the local host at a specified port.
open(int, InetAddress) - Method in class org.apache.commons.net.DatagramSocketClient
Opens a DatagramSocket at the specified address on the local host at a specified port.
org.apache.commons.net - package org.apache.commons.net
 
org.apache.commons.net.bsd - package org.apache.commons.net.bsd
 
org.apache.commons.net.ftp - package org.apache.commons.net.ftp
 
org.apache.commons.net.io - package org.apache.commons.net.io
 
org.apache.commons.net.nntp - package org.apache.commons.net.nntp
 
org.apache.commons.net.pop3 - package org.apache.commons.net.pop3
 
org.apache.commons.net.smtp - package org.apache.commons.net.smtp
 
org.apache.commons.net.telnet - package org.apache.commons.net.telnet
 
org.apache.commons.net.tftp - package org.apache.commons.net.tftp
 
org.apache.commons.net.util - package org.apache.commons.net.util
 
OUT_OF_SPACE - Static variable in class org.apache.commons.net.tftp.TFTPErrorPacket
The disk full error code according to RFC 783, value 3.
OUTPUT_MARKING - Static variable in class org.apache.commons.net.telnet.TelnetOption
 

P

PAGE_STRUCTURE - Static variable in class org.apache.commons.net.ftp.FTP
A constant used to indicate a file is to be treated as a set of independent indexed pages.
PAGE_TYPE_UNKNOWN - Static variable in class org.apache.commons.net.ftp.FTPReply
 
parseFileList(InputStream) - Method in interface org.apache.commons.net.ftp.FTPFileListParser
Parses an FTP server file listing and converts it into a usable format in the form of an array of FTPFile instances.
parseFileList(InputStream) - Method in class org.apache.commons.net.ftp.DefaultFTPFileListParser
Parses an FTP server file listing and converts it into a usable format in the form of an array of FTPFile instances.
parseFTPEntry(String) - Method in class org.apache.commons.net.ftp.DefaultFTPFileListParser
Parses an FTP server listing entry (a single line) and returns an FTPFile instance with the resulting information.
PASS - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
PASS - Static variable in class org.apache.commons.net.pop3.POP3Command
Send password.
pass(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP PASS command to the server, receive the reply, and return the reply code.
PASSIVE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
PASSIVE_LOCAL_DATA_CONNECTION_MODE - Static variable in class org.apache.commons.net.ftp.FTPClient
A constant indicating the FTP session is expecting all transfers to occur between the client (local) and server and that the server is in passive mode, requiring the client to connect to the server's data port to initiate a transfer.
PASSIVE_REMOTE_DATA_CONNECTION_MODE - Static variable in class org.apache.commons.net.ftp.FTPClient
A constant indicating the FTP session is expecting all transfers to occur between two remote servers and that the server the client is connected to is in passive mode, requiring the other server to connect to the first server's data port to initiate a data transfer.
PASSWORD - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
PASV - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
pasv() - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP PASV command to the server, receive the reply, and return the reply code.
PATHNAME_CREATED - Static variable in class org.apache.commons.net.ftp.FTPReply
 
PERMISSION_DENIED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
PERMITTED_POSTING_PERMISSION - Static variable in class org.apache.commons.net.nntp.NewsgroupInfo
A constant indicating that a newsgroup is public and unmoderated.
POP3 - class org.apache.commons.net.pop3.POP3.
The POP3 class is not meant to be used by itself and is provided only so that you may easily implement your own POP3 client if you so desire.
POP3() - Constructor for class org.apache.commons.net.pop3.POP3
The default POP3Client constructor.
POP3Client - class org.apache.commons.net.pop3.POP3Client.
The POP3Client class implements the client side of the Internet POP3 Protocol defined in RFC 1939.
POP3Client() - Constructor for class org.apache.commons.net.pop3.POP3Client
 
POP3Command - class org.apache.commons.net.pop3.POP3Command.
POP3Command stores POP3 command code constants.
POP3MessageInfo - class org.apache.commons.net.pop3.POP3MessageInfo.
POP3MessageInfo is used to return information about messages stored on a POP3 server.
POP3MessageInfo() - Constructor for class org.apache.commons.net.pop3.POP3MessageInfo
Creates a POP3MessageInfo instance with number and size set to 0, and identifier set to null.
POP3MessageInfo(int, int) - Constructor for class org.apache.commons.net.pop3.POP3MessageInfo
Creates a POP3MessageInfo instance with number set to num , size set to octets , and identifier set to null.
POP3MessageInfo(int, String) - Constructor for class org.apache.commons.net.pop3.POP3MessageInfo
Creates a POP3MessageInfo instance with number set to num , size undefined, and identifier set to uid.
POP3Reply - class org.apache.commons.net.pop3.POP3Reply.
POP3Reply stores POP3 reply code constants.
PORT - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
port(InetAddress, int) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP PORT command to the server, receive the reply, and return the reply code.
POST - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
post() - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP POST command to the server, receive the reply, and return the reply code.
postArticle() - Method in class org.apache.commons.net.nntp.NNTPClient
Post an article to the NNTP server.
POSTING_FAILED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
POSTING_NOT_ALLOWED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
PREPARE_TO_RECONNECT - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
PRINT_WORKING_DIRECTORY - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
printWorkingDirectory() - Method in class org.apache.commons.net.ftp.FTPClient
Returns the pathname of the current working directory.
PROGRAM_FAULT - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
PROHIBITED_POSTING_PERMISSION - Static variable in class org.apache.commons.net.nntp.NewsgroupInfo
A constant indicating that a newsgroup is closed for general posting.
ProtocolCommandEvent - class org.apache.commons.net.ProtocolCommandEvent.
There exists a large class of IETF protocols that work by sending an ASCII text command and arguments to a server, and then receiving an ASCII text reply.
ProtocolCommandEvent(Object, int, String) - Constructor for class org.apache.commons.net.ProtocolCommandEvent
Creates a ProtocolCommandEvent signalling a reply to a command was received.
ProtocolCommandEvent(Object, String, String) - Constructor for class org.apache.commons.net.ProtocolCommandEvent
Creates a ProtocolCommandEvent signalling a command was sent to the server.
ProtocolCommandListener - interface org.apache.commons.net.ProtocolCommandListener.
There exists a large class of IETF protocols that work by sending an ASCII text command and arguments to a server, and then receiving an ASCII text reply.
protocolCommandSent(ProtocolCommandEvent) - Method in interface org.apache.commons.net.ProtocolCommandListener
This method is invoked by a ProtocolCommandEvent source after sending a protocol command to a server.
ProtocolCommandSupport - class org.apache.commons.net.ProtocolCommandSupport.
ProtocolCommandSupport is a convenience class for managing a list of ProtocolCommandListeners and firing ProtocolCommandEvents.
ProtocolCommandSupport(Object) - Constructor for class org.apache.commons.net.ProtocolCommandSupport
Creates a ProtocolCommandSupport instant using the indicated source as the source of fired ProtocolCommandEvents.
protocolReplyReceived(ProtocolCommandEvent) - Method in interface org.apache.commons.net.ProtocolCommandListener
This method is invoked by a ProtocolCommandEvent source after receiving a reply from a server.
PWD - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
pwd() - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP PWD command to the server, receive the reply, and return the reply code.

Q

query(boolean) - Method in class org.apache.commons.net.FingerClient
Fingers the connected host and returns the output as a String.
query(boolean, String) - Method in class org.apache.commons.net.FingerClient
Fingers a user at the connected host and returns the output as a String.
query(String) - Method in class org.apache.commons.net.WhoisClient
Queries the connected whois server for information regarding the given handle.
QUIT - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
QUIT - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
QUIT - Static variable in class org.apache.commons.net.pop3.POP3Command
Quit session.
QUIT - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
quit() - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP QUIT command to the server, receive the reply, and return the reply code.
quit() - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP QUIT command to the server, receive the reply, and return the reply code.
quit() - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP QUIT command to the server, receive the reply, and return the reply code.
QUOTE_OF_DAY_PORT - Static variable in class org.apache.commons.net.CharGenUDPClient
The quote of the day port value of 17 according to RFC 865.
QUOTE_OF_DAY_PORT - Static variable in class org.apache.commons.net.CharGenTCPClient
The quote of the day port value of 17 according to RFC 865.

R

rcommand(String, String, String) - Method in class org.apache.commons.net.bsd.RCommandClient
Same as rcommand(localUsername, remoteUsername, command, false);
rcommand(String, String, String, boolean) - Method in class org.apache.commons.net.bsd.RCommandClient
Remotely executes a command through the rshd daemon on the server to which the RCommandClient is connected.
RCommandClient - class org.apache.commons.net.bsd.RCommandClient.
RCommandClient is very similar to RExecClient , from which it is derived, and implements the rcmd() facility that first appeared in 4.2BSD Unix.
RCommandClient() - Constructor for class org.apache.commons.net.bsd.RCommandClient
The default RCommandClient constructor.
RCPT - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
rcpt(String) - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP RCPT command to the server, receive the reply, and return the reply code.
READ_PERMISSION - Static variable in class org.apache.commons.net.ftp.FTPFile
A constant indicating file/directory read permission.
READ_REQUEST - Static variable in class org.apache.commons.net.tftp.TFTPPacket
This is the actual TFTP spec identifier and is equal to 1.
read() - Method in class org.apache.commons.net.io.ToNetASCIIInputStream
Reads and returns the next byte in the stream.
read() - Method in class org.apache.commons.net.io.FromNetASCIIInputStream
Reads and returns the next byte in the stream.
read() - Method in class org.apache.commons.net.io.DotTerminatedMessageReader
Reads and returns the next character in the message.
read(byte[]) - Method in class org.apache.commons.net.io.ToNetASCIIInputStream
Reads the next number of bytes from the stream into an array and returns the number of bytes read.
read(byte[]) - Method in class org.apache.commons.net.io.FromNetASCIIInputStream
Reads the next number of bytes from the stream into an array and returns the number of bytes read.
read(byte[], int, int) - Method in class org.apache.commons.net.io.ToNetASCIIInputStream
Reads the next number of bytes from the stream into an array and returns the number of bytes read.
read(byte[], int, int) - Method in class org.apache.commons.net.io.FromNetASCIIInputStream
Reads the next number of bytes from the stream into an array and returns the number of bytes read.
read(char[]) - Method in class org.apache.commons.net.io.DotTerminatedMessageReader
Reads the next characters from the message into an array and returns the number of characters read.
read(char[], int, int) - Method in class org.apache.commons.net.io.DotTerminatedMessageReader
Reads the next characters from the message into an array and returns the number of characters read.
ready() - Method in class org.apache.commons.net.io.DotTerminatedMessageReader
Determines if the message is ready to be read.
receive() - Method in class org.apache.commons.net.CharGenUDPClient
Receive the reply data from the server.
receive() - Method in class org.apache.commons.net.tftp.TFTP
Receives a TFTPPacket.
receive(byte[]) - Method in class org.apache.commons.net.EchoUDPClient
Same as receive(data, data.length)
receive(byte[], int) - Method in class org.apache.commons.net.EchoUDPClient
Receives echoed data and returns its length.
receiveFile(String, int, OutputStream, InetAddress) - Method in class org.apache.commons.net.tftp.TFTPClient
Same as calling receiveFile(filename, mode, output, host, TFTP.DEFAULT_PORT).
receiveFile(String, int, OutputStream, InetAddress, int) - Method in class org.apache.commons.net.tftp.TFTPClient
Requests a named file from a remote host, writes the file to an OutputStream, closes the connection, and returns the number of bytes read.
receiveFile(String, int, OutputStream, String) - Method in class org.apache.commons.net.tftp.TFTPClient
Same as calling receiveFile(filename, mode, output, hostname, TFTP.DEFAULT_PORT).
receiveFile(String, int, OutputStream, String, int) - Method in class org.apache.commons.net.tftp.TFTPClient
Requests a named file from a remote host, writes the file to an OutputStream, closes the connection, and returns the number of bytes read.
RECIPIENT - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
RECORD_STRUCTURE - Static variable in class org.apache.commons.net.ftp.FTP
A constant used to indicate a file is to be treated as a sequence of records.
REGIME_3270 - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
REIN - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
rein() - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP REIN command to the server, receive the reply, and return the reply code.
REINITIALIZE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
RelayPath - class org.apache.commons.net.smtp.RelayPath.
A class used to represent forward and reverse relay paths.
RelayPath(String) - Constructor for class org.apache.commons.net.smtp.RelayPath
Create a relay path with the specified email address as the ultimate destination.
REMOTE_CONTROLLED_TRANSMISSION - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
REMOTE_FLOW_CONTROL - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
remoteAppend(String) - Method in class org.apache.commons.net.ftp.FTPClient
Initiate a server to server file transfer.
remoteRetrieve(String) - Method in class org.apache.commons.net.ftp.FTPClient
Initiate a server to server file transfer.
remoteStore(String) - Method in class org.apache.commons.net.ftp.FTPClient
Initiate a server to server file transfer.
remoteStoreUnique() - Method in class org.apache.commons.net.ftp.FTPClient
Initiate a server to server file transfer.
remoteStoreUnique(String) - Method in class org.apache.commons.net.ftp.FTPClient
Initiate a server to server file transfer.
REMOVE_DIRECTORY - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
removeCopyStreamListener(CopyStreamListener) - Method in class org.apache.commons.net.io.CopyStreamAdapter
Unregisters a CopyStreamListener.
removeDirectory(String) - Method in class org.apache.commons.net.ftp.FTPClient
Removes a directory on the FTP server (if empty).
removeListener(EventListener) - Method in class org.apache.commons.net.util.ListenerList
 
removeProtocolCommandistener(ProtocolCommandListener) - Method in class org.apache.commons.net.ftp.FTP
Removes a ProtocolCommandListener.
removeProtocolCommandistener(ProtocolCommandListener) - Method in class org.apache.commons.net.pop3.POP3
Removes a ProtocolCommandListener.
removeProtocolCommandistener(ProtocolCommandListener) - Method in class org.apache.commons.net.smtp.SMTP
Removes a ProtocolCommandListener.
removeProtocolCommandListener(ProtocolCommandListener) - Method in class org.apache.commons.net.ProtocolCommandSupport
Removes a ProtocolCommandListener.
removeProtocolCommandListener(ProtocolCommandListener) - Method in class org.apache.commons.net.nntp.NNTP
Removes a ProtocolCommandListener.
RENAME_FROM - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
RENAME_TO - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
rename(String, String) - Method in class org.apache.commons.net.ftp.FTPClient
Renames a remote file.
REPRESENTATION_TYPE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
RESET - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
reset() - Method in class org.apache.commons.net.pop3.POP3Client
Reset the POP3 session.
reset() - Method in class org.apache.commons.net.smtp.SMTPClient
Aborts the current mail transaction, resetting all server stored sender, recipient, and mail data, cleaing all buffers and tables.
REST - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
rest(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP REST command to the server, receive the reply, and return the reply code.
RESTART - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
RESTART_MARKER - Static variable in class org.apache.commons.net.ftp.FTPReply
 
RETR - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
RETR - Static variable in class org.apache.commons.net.pop3.POP3Command
Retrieve message(s).
retr(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP RETR command to the server, receive the reply, and return the reply code.
RETRIEVE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
retrieveArticle() - Method in class org.apache.commons.net.nntp.NNTPClient
Same as retrieveArticle(null)
retrieveArticle(int) - Method in class org.apache.commons.net.nntp.NNTPClient
Same as retrieveArticle(articleNumber, null)
retrieveArticle(int, ArticlePointer) - Method in class org.apache.commons.net.nntp.NNTPClient
Retrieves an article from the currently selected newsgroup.
retrieveArticle(String) - Method in class org.apache.commons.net.nntp.NNTPClient
Same as retrieveArticle(articleId, null)
retrieveArticle(String, ArticlePointer) - Method in class org.apache.commons.net.nntp.NNTPClient
Retrieves an article from the NNTP server.
retrieveArticleBody() - Method in class org.apache.commons.net.nntp.NNTPClient
Same as retrieveArticleBody(null)
retrieveArticleBody(int) - Method in class org.apache.commons.net.nntp.NNTPClient
Same as retrieveArticleBody(articleNumber, null)
retrieveArticleBody(int, ArticlePointer) - Method in class org.apache.commons.net.nntp.NNTPClient
Retrieves an article body from the currently selected newsgroup.
retrieveArticleBody(String) - Method in class org.apache.commons.net.nntp.NNTPClient
Same as retrieveArticleBody(articleId, null)
retrieveArticleBody(String, ArticlePointer) - Method in class org.apache.commons.net.nntp.NNTPClient
Retrieves an article body from the NNTP server.
retrieveArticleHeader() - Method in class org.apache.commons.net.nntp.NNTPClient
Same as retrieveArticleHeader(null)
retrieveArticleHeader(int) - Method in class org.apache.commons.net.nntp.NNTPClient
Same as retrieveArticleHeader(articleNumber, null)
retrieveArticleHeader(int, ArticlePointer) - Method in class org.apache.commons.net.nntp.NNTPClient
Retrieves an article header from the currently selected newsgroup.
retrieveArticleHeader(String) - Method in class org.apache.commons.net.nntp.NNTPClient
Same as retrieveArticleHeader(articleId, null)
retrieveArticleHeader(String, ArticlePointer) - Method in class org.apache.commons.net.nntp.NNTPClient
Retrieves an article header from the NNTP server.
retrieveFile(String, OutputStream) - Method in class org.apache.commons.net.ftp.FTPClient
Retrieves a named file from the server and writes it to the given OutputStream.
retrieveFileStream(String) - Method in class org.apache.commons.net.ftp.FTPClient
Returns an InputStream from which a named file from the server can be read.
retrieveMessage(int) - Method in class org.apache.commons.net.pop3.POP3Client
Retrieve a message from the POP3 server.
retrieveMessageTop(int, int) - Method in class org.apache.commons.net.pop3.POP3Client
Retrieve only the specified top number of lines of a message from the POP3 server.
rexec(String, String, String) - Method in class org.apache.commons.net.bsd.RExecClient
Same as rexec(username, password, command, false);
rexec(String, String, String, boolean) - Method in class org.apache.commons.net.bsd.RExecClient
Remotely executes a command through the rexecd daemon on the server to which the RExecClient is connected.
RExecClient - class org.apache.commons.net.bsd.RExecClient.
RExecClient implements the rexec() facility that first appeared in 4.2BSD Unix.
RExecClient() - Constructor for class org.apache.commons.net.bsd.RExecClient
The default RExecClient constructor.
rlogin(String, String, String) - Method in class org.apache.commons.net.bsd.RLoginClient
Same as the other rlogin method, but no terminal speed is defined.
rlogin(String, String, String, int) - Method in class org.apache.commons.net.bsd.RLoginClient
Logins into a remote machine through the rlogind daemon on the server to which the RLoginClient is connected.
RLoginClient - class org.apache.commons.net.bsd.RLoginClient.
RLoginClient is very similar to RCommandClient , from which it is derived, and uses the rcmd() facility implemented in RCommandClient to implement the functionality of the rlogin command that first appeared in 4.2BSD Unix.
RLoginClient() - Constructor for class org.apache.commons.net.bsd.RLoginClient
The default RLoginClient constructor.
RMD - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
rmd(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP RMD command to the server, receive the reply, and return the reply code.
RNFR - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
rnfr(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP RNFR command to the server, receive the reply, and return the reply code.
RNTO - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
rnto(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP RNTO command to the server, receive the reply, and return the reply code.
RSET - Static variable in class org.apache.commons.net.pop3.POP3Command
Reset session.
RSET - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
rset() - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP RSET command to the server, receive the reply, and return the reply code.

S

SAML - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
saml(String) - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP SAML command to the server, receive the reply, and return the reply code.
SB - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Start subnegotiation code.
SE - Static variable in class org.apache.commons.net.telnet.TelnetCommand
End subnegotiation code.
SECONDS_1900_TO_1970 - Static variable in class org.apache.commons.net.TimeUDPClient
The number of seconds between 00:00 1 January 1900 and 00:00 1 January 1970.
SECONDS_1900_TO_1970 - Static variable in class org.apache.commons.net.TimeTCPClient
The number of seconds between 00:00 1 January 1900 and 00:00 1 January 1970.
SEGMENT_SIZE - Static variable in class org.apache.commons.net.tftp.TFTPPacket
The TFTP data packet maximum segment size in bytes.
selectArticle(ArticlePointer) - Method in class org.apache.commons.net.nntp.NNTPClient
Same as selectArticle(null, articleId) .
selectArticle(int) - Method in class org.apache.commons.net.nntp.NNTPClient
Same as selectArticle(articleNumber, null)
selectArticle(int, ArticlePointer) - Method in class org.apache.commons.net.nntp.NNTPClient
Select an article in the currently selected newsgroup by its number.
selectArticle(String) - Method in class org.apache.commons.net.nntp.NNTPClient
Same as selectArticle(articleId, null)
selectArticle(String, ArticlePointer) - Method in class org.apache.commons.net.nntp.NNTPClient
Select an article by its unique identifier (including enclosing < and >) and return its article number and id through the pointer parameter.
selectNewsgroup(String) - Method in class org.apache.commons.net.nntp.NNTPClient
Same as selectNewsgroup(newsgroup, null)
selectNewsgroup(String, NewsgroupInfo) - Method in class org.apache.commons.net.nntp.NNTPClient
Select the specified newsgroup to be the target of for future article retrieval and posting operations.
selectNextArticle() - Method in class org.apache.commons.net.nntp.NNTPClient
Same as selectNextArticle(null)
selectNextArticle(ArticlePointer) - Method in class org.apache.commons.net.nntp.NNTPClient
Select the article following the currently selected article in the currently selected newsgroup and return its number and unique id through the pointer parameter.
selectPreviousArticle() - Method in class org.apache.commons.net.nntp.NNTPClient
Same as selectPreviousArticle(null)
selectPreviousArticle(ArticlePointer) - Method in class org.apache.commons.net.nntp.NNTPClient
Select the article preceeding the currently selected article in the currently selected newsgroup and return its number and unique id through the pointer parameter.
SEND - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
SEND_AND_MAIL_FROM - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
SEND_ARTICLE_TO_POST - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
SEND_ARTICLE_TO_TRANSFER - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
SEND_FROM - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
SEND_LOCATION - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
SEND_MESSAGE_DATA - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
SEND_OR_MAIL_FROM - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
send(byte[], InetAddress) - Method in class org.apache.commons.net.EchoUDPClient
Same as send(data, data.length, host)
send(byte[], InetAddress) - Method in class org.apache.commons.net.DiscardUDPClient
Same as send(data, data.length, host.
send(byte[], int, InetAddress) - Method in class org.apache.commons.net.EchoUDPClient
Sends the specified data to the specified server at the default echo port.
send(byte[], int, InetAddress) - Method in class org.apache.commons.net.DiscardUDPClient
Same as send(data, length, host.
send(byte[], int, InetAddress, int) - Method in class org.apache.commons.net.DiscardUDPClient
Sends the specified data to the specified server at the specified port.
send(InetAddress) - Method in class org.apache.commons.net.CharGenUDPClient
Same as send(host, CharGenUDPClient.DEFAULT_PORT);
send(InetAddress, int) - Method in class org.apache.commons.net.CharGenUDPClient
Sends the data initiation datagram.
send(String) - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP SEND command to the server, receive the reply, and return the reply code.
send(TFTPPacket) - Method in class org.apache.commons.net.tftp.TFTP
Sends a TFTP packet to its destination.
sendCommand(int) - Method in class org.apache.commons.net.ftp.FTP
Sends an FTP command with no arguments to the server, waits for a reply and returns the numerical response code.
sendCommand(int) - Method in class org.apache.commons.net.nntp.NNTP
Sends an NNTP command with no arguments to the server, waits for a reply and returns the numerical response code.
sendCommand(int) - Method in class org.apache.commons.net.pop3.POP3
Sends a command with no arguments to the server and returns the reply code.
sendCommand(int) - Method in class org.apache.commons.net.smtp.SMTP
Sends an SMTP command with no arguments to the server, waits for a reply and returns the numerical response code.
sendCommand(int, String) - Method in class org.apache.commons.net.ftp.FTP
Sends an FTP command to the server, waits for a reply and returns the numerical response code.
sendCommand(int, String) - Method in class org.apache.commons.net.nntp.NNTP
Sends an NNTP command to the server, waits for a reply and returns the numerical response code.
sendCommand(int, String) - Method in class org.apache.commons.net.pop3.POP3
Sends a command an arguments to the server and returns the reply code.
sendCommand(int, String) - Method in class org.apache.commons.net.smtp.SMTP
Sends an SMTP command to the server, waits for a reply and returns the numerical response code.
sendCommand(String) - Method in class org.apache.commons.net.ftp.FTP
Sends an FTP command with no arguments to the server, waits for a reply and returns the numerical response code.
sendCommand(String) - Method in class org.apache.commons.net.nntp.NNTP
Sends an NNTP command with no arguments to the server, waits for a reply and returns the numerical response code.
sendCommand(String) - Method in class org.apache.commons.net.pop3.POP3
Sends a command with no arguments to the server and returns the reply code.
sendCommand(String) - Method in class org.apache.commons.net.smtp.SMTP
Sends an SMTP command with no arguments to the server, waits for a reply and returns the numerical response code.
sendCommand(String, String) - Method in class org.apache.commons.net.ftp.FTP
Sends an FTP command to the server, waits for a reply and returns the numerical response code.
sendCommand(String, String) - Method in class org.apache.commons.net.nntp.NNTP
Sends an NNTP command to the server, waits for a reply and returns the numerical response code.
sendCommand(String, String) - Method in class org.apache.commons.net.pop3.POP3
Sends a command an arguments to the server and returns the reply code.
sendCommand(String, String) - Method in class org.apache.commons.net.smtp.SMTP
Sends an SMTP command to the server, waits for a reply and returns the numerical response code.
sendFile(String, int, InputStream, InetAddress) - Method in class org.apache.commons.net.tftp.TFTPClient
Same as calling sendFile(filename, mode, input, host, TFTP.DEFAULT_PORT).
sendFile(String, int, InputStream, InetAddress, int) - Method in class org.apache.commons.net.tftp.TFTPClient
Requests to send a file to a remote host, reads the file from an InputStream, sends the file to the remote host, and closes the connection.
sendFile(String, int, InputStream, String) - Method in class org.apache.commons.net.tftp.TFTPClient
Same as calling sendFile(filename, mode, input, hostname, TFTP.DEFAULT_PORT).
sendFile(String, int, InputStream, String, int) - Method in class org.apache.commons.net.tftp.TFTPClient
Requests to send a file to a remote host, reads the file from an InputStream, sends the file to the remote host, and closes the connection.
sendMessageData() - Method in class org.apache.commons.net.smtp.SMTPClient
Send the SMTP DATA command in preparation to send an email message.
sendNoOp() - Method in class org.apache.commons.net.ftp.FTPClient
Sends a NOOP command to the FTP server.
sendNoOp() - Method in class org.apache.commons.net.smtp.SMTPClient
Sends a NOOP command to the SMTP server.
sendShortMessageData(String) - Method in class org.apache.commons.net.smtp.SMTPClient
A convenience method for sending short messages.
sendSimpleMessage(String, String[], String) - Method in class org.apache.commons.net.smtp.SMTPClient
A convenience method for a sending short email without having to explicitly set the sender and recipient(s).
sendSimpleMessage(String, String, String) - Method in class org.apache.commons.net.smtp.SMTPClient
A convenience method for a sending short email without having to explicitly set the sender and recipient(s).
sendSiteCommand(String) - Method in class org.apache.commons.net.ftp.FTPClient
Send a site specific command.
SERVER_READY_POSTING_ALLOWED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
SERVER_READY_POSTING_NOT_ALLOWED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
SERVICE_CLOSING_CONTROL_CONNECTION - Static variable in class org.apache.commons.net.ftp.FTPReply
 
SERVICE_CLOSING_TRANSMISSION_CHANNEL - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
SERVICE_DISCONTINUED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
SERVICE_NOT_AVAILABLE - Static variable in class org.apache.commons.net.ftp.FTPReply
 
SERVICE_NOT_AVAILABLE - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
SERVICE_NOT_READY - Static variable in class org.apache.commons.net.ftp.FTPReply
 
SERVICE_READY - Static variable in class org.apache.commons.net.ftp.FTPReply
 
SERVICE_READY - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
setAddress(InetAddress) - Method in class org.apache.commons.net.tftp.TFTPPacket
Sets the host address where the packet is going to be sent.
setBlockNumber(int) - Method in class org.apache.commons.net.tftp.TFTPDataPacket
Sets the block number of the data packet.
setBlockNumber(int) - Method in class org.apache.commons.net.tftp.TFTPAckPacket
Sets the block number of the acknowledgement.
setData(byte[], int, int) - Method in class org.apache.commons.net.tftp.TFTPDataPacket
Sets the data for the data packet.
setDatagramSocketFactory(DatagramSocketFactory) - Method in class org.apache.commons.net.DatagramSocketClient
Sets the DatagramSocketFactory used by the DatagramSocketClient to open DatagramSockets.
setDataTimeout(int) - Method in class org.apache.commons.net.ftp.FTPClient
Sets the timeout in milliseconds to use when reading from the data connection.
setDefaultPort(int) - Method in class org.apache.commons.net.SocketClient
Sets the default port the SocketClient should connect to when a port is not specified.
setDefaultTimeout(int) - Method in class org.apache.commons.net.DatagramSocketClient
Set the default timeout in milliseconds to use when opening a socket.
setDefaultTimeout(int) - Method in class org.apache.commons.net.SocketClient
Set the default timeout in milliseconds to use when opening a socket.
setFileStructure(int) - Method in class org.apache.commons.net.ftp.FTPClient
Sets the file structure.
setFileTransferMode(int) - Method in class org.apache.commons.net.ftp.FTPClient
Sets the transfer mode.
setFileType(int) - Method in class org.apache.commons.net.ftp.FTPClient
Sets the file type to be transferred.
setFileType(int, int) - Method in class org.apache.commons.net.ftp.FTPClient
Sets the file type to be transferred and the format.
setGroup(String) - Method in class org.apache.commons.net.ftp.FTPFile
Set the name of the group owning the file.
setHardLinkCount(int) - Method in class org.apache.commons.net.ftp.FTPFile
Set the number of hard links to this file.
setLink(String) - Method in class org.apache.commons.net.ftp.FTPFile
If the FTPFile is a symbolic link, use this method to set the name of the file being pointed to by the symbolic link.
setMaxTimeouts(int) - Method in class org.apache.commons.net.tftp.TFTPClient
Sets the maximum number of times a receive attempt is allowed to timeout during a receiveFile() or sendFile() operation before ending attempts to retry the receive and failing.
setName(String) - Method in class org.apache.commons.net.ftp.FTPFile
Set the name of the file.
setPermission(int, int, boolean) - Method in class org.apache.commons.net.ftp.FTPFile
Set if the given access group (one of the _ACCESS constants) has the given access permission (one of the _PERMISSION constants) to the file.
setPort(int) - Method in class org.apache.commons.net.tftp.TFTPPacket
Sets the port where the packet is going to be sent.
setRawListing(String) - Method in class org.apache.commons.net.ftp.FTPFile
Set the original FTP server raw listing from which the FTPFile was created.
setRemoteVerificationEnabled(boolean) - Method in class org.apache.commons.net.bsd.RExecClient
Enable or disable verification that the remote host connecting to create a separate error stream is the same as the host to which the standard out stream is connected.
setRemoteVerificationEnabled(boolean) - Method in class org.apache.commons.net.ftp.FTPClient
Enable or disable verification that the remote host taking part of a data connection is the same as the host to which the control connection is attached.
setRestartOffset(long) - Method in class org.apache.commons.net.ftp.FTPClient
Sets the restart offset.
setSender(RelayPath) - Method in class org.apache.commons.net.smtp.SMTPClient
Set the sender of a message using the SMTP MAIL command, specifying a reverse relay path.
setSender(String) - Method in class org.apache.commons.net.smtp.SMTPClient
Set the sender of a message using the SMTP MAIL command, specifying the sender's email address.
setSize(long) - Method in class org.apache.commons.net.ftp.FTPFile
Set the file size in bytes.
setSocketFactory(SocketFactory) - Method in class org.apache.commons.net.SocketClient
Sets the SocketFactory used by the SocketClient to open socket connections.
setSoLinger(boolean, int) - Method in class org.apache.commons.net.SocketClient
Sets the SO_LINGER timeout on the currently opened socket.
setSoTimeout(int) - Method in class org.apache.commons.net.DatagramSocketClient
Set the timeout in milliseconds of a currently open connection.
setSoTimeout(int) - Method in class org.apache.commons.net.SocketClient
Set the timeout in milliseconds of a currently open connection.
setState(int) - Method in class org.apache.commons.net.pop3.POP3
Sets POP3 client state.
setTcpNoDelay(boolean) - Method in class org.apache.commons.net.SocketClient
Enables or disables the Nagle's algorithm (TCP_NODELAY) on the currently opened socket.
setTimestamp(Calendar) - Method in class org.apache.commons.net.ftp.FTPFile
Set the file timestamp.
setType(int) - Method in class org.apache.commons.net.ftp.FTPFile
Set the type of the file (DIRECTORY_TYPE, FILE_TYPE, etc.).
setUser(String) - Method in class org.apache.commons.net.ftp.FTPFile
Set the name of the user owning the file.
SimpleNNTPHeader - class org.apache.commons.net.nntp.SimpleNNTPHeader.
This class is used to construct the bare minimum acceptable header for most news readers.
SimpleNNTPHeader(String, String) - Constructor for class org.apache.commons.net.nntp.SimpleNNTPHeader
Creates a new SimpleNNTPHeader instance initialized with the given from and subject header field values.
SimpleSMTPHeader - class org.apache.commons.net.smtp.SimpleSMTPHeader.
This class is used to construct a bare minimum acceptable header for an email message.
SimpleSMTPHeader(String, String, String) - Constructor for class org.apache.commons.net.smtp.SimpleSMTPHeader
Creates a new SimpleSMTPHeader instance initialized with the given from, to, and subject header field values.
SITE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
SITE_PARAMETERS - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
site(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP SITE command to the server, receive the reply, and return the reply code.
size - Variable in class org.apache.commons.net.pop3.POP3MessageInfo
 
SLAVE - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
SLAVE_STATUS_NOTED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
SMNT - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
smnt(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP SMNT command to the server, receive the reply, and return the reply code.
SMTP - class org.apache.commons.net.smtp.SMTP.
SMTP provides the basic the functionality necessary to implement your own SMTP client.
SMTP() - Constructor for class org.apache.commons.net.smtp.SMTP
The default SMTP constructor.
SMTPClient - class org.apache.commons.net.smtp.SMTPClient.
SMTPClient encapsulates all the functionality necessary to send files through an SMTP server.
SMTPClient() - Constructor for class org.apache.commons.net.smtp.SMTPClient
 
SMTPCommand - class org.apache.commons.net.smtp.SMTPCommand.
SMTPCommand stores a set of constants for SMTP command codes.
SMTPConnectionClosedException - exception org.apache.commons.net.smtp.SMTPConnectionClosedException.
SMTPConnectionClosedException is used to indicate the premature or unexpected closing of an SMTP connection resulting from a SMTPReply.SERVICE_NOT_AVAILABLE response (SMTP reply code 421) to a failed SMTP command.
SMTPConnectionClosedException() - Constructor for class org.apache.commons.net.smtp.SMTPConnectionClosedException
Constructs a SMTPConnectionClosedException with no message
SMTPConnectionClosedException(String) - Constructor for class org.apache.commons.net.smtp.SMTPConnectionClosedException
Constructs a SMTPConnectionClosedException with a specified message.
SMTPReply - class org.apache.commons.net.smtp.SMTPReply.
SMTPReply stores a set of constants for SMTP reply codes.
SocketClient - class org.apache.commons.net.SocketClient.
The SocketClient provides the basic operations that are required of client objects accessing sockets.
SocketClient() - Constructor for class org.apache.commons.net.SocketClient
Default constructor for SocketClient.
SocketFactory - interface org.apache.commons.net.SocketFactory.
The SocketFactory interface provides a means for the programmer to control the creation of sockets and provide his own Socket implementations for use by all classes derived from SocketClient .
SocketInputStream - class org.apache.commons.net.io.SocketInputStream.
This class wraps an input stream, storing a reference to its originating socket.
SocketInputStream(Socket, InputStream) - Constructor for class org.apache.commons.net.io.SocketInputStream
Creates a SocketInputStream instance wrapping an input stream and storing a reference to a socket that should be closed on closing the stream.
SocketOutputStream - class org.apache.commons.net.io.SocketOutputStream.
This class wraps an output stream, storing a reference to its originating socket.
SocketOutputStream(Socket, OutputStream) - Constructor for class org.apache.commons.net.io.SocketOutputStream
Creates a SocketOutputStream instance wrapping an output stream and storing a reference to a socket that should be closed on closing the stream.
SOML - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
soml(String) - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP SOML command to the server, receive the reply, and return the reply code.
START_MAIL_INPUT - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
STAT - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
STAT - Static variable in class org.apache.commons.net.nntp.NNTPCommand
 
STAT - Static variable in class org.apache.commons.net.pop3.POP3Command
Get status.
stat() - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP STAT command to the server, receive the reply, and return the reply code.
stat() - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP STAT command to the server, receive the initial reply, and return the reply code.
stat(int) - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP STAT command to the server, receive the initial reply, and return the reply code.
stat(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP STAT command to the server, receive the reply, and return the reply code.
stat(String) - Method in class org.apache.commons.net.nntp.NNTP
A convenience method to send the NNTP STAT command to the server, receive the initial reply, and return the reply code.
STATUS - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
STATUS - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
status() - Method in class org.apache.commons.net.pop3.POP3Client
Get the mailbox status.
STOR - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
stor(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP STOR command to the server, receive the reply, and return the reply code.
STORAGE_ALLOCATION_EXCEEDED - Static variable in class org.apache.commons.net.ftp.FTPReply
 
STORAGE_ALLOCATION_EXCEEDED - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
STORE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
STORE_UNIQUE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
storeFile(String, InputStream) - Method in class org.apache.commons.net.ftp.FTPClient
Stores a file on the server using the given name and taking input from the given InputStream.
storeFileStream(String) - Method in class org.apache.commons.net.ftp.FTPClient
Returns an OutputStream through which data can be written to store a file on the server using the given name.
storeUniqueFile(InputStream) - Method in class org.apache.commons.net.ftp.FTPClient
Stores a file on the server using a unique name assigned by the server and taking input from the given InputStream.
storeUniqueFile(String, InputStream) - Method in class org.apache.commons.net.ftp.FTPClient
Stores a file on the server using a unique name derived from the given name and taking input from the given InputStream.
storeUniqueFileStream() - Method in class org.apache.commons.net.ftp.FTPClient
Returns an OutputStream through which data can be written to store a file on the server using a unique name assigned by the server.
storeUniqueFileStream(String) - Method in class org.apache.commons.net.ftp.FTPClient
Returns an OutputStream through which data can be written to store a file on the server using a unique name derived from the given name.
STOU - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
stou() - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP STOU command to the server, receive the reply, and return the reply code.
stou(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP STOU command to the server, receive the reply, and return the reply code.
STREAM_TRANSFER_MODE - Static variable in class org.apache.commons.net.ftp.FTP
A constant used to indicate a file is to be transfered as a stream of bytes.
STRU - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
stru(int) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP STRU command to the server, receive the reply, and return the reply code.
STRUCTURE_MOUNT - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
structureMount(String) - Method in class org.apache.commons.net.ftp.FTPClient
Issue the FTP SMNT command.
SUPDUP - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
SUPDUP_OUTPUT - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
SUPPRESS_GO_AHEAD - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
SUSP - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Suspend process code.
SYMBOLIC_LINK_TYPE - Static variable in class org.apache.commons.net.ftp.FTPFile
A constant indicating an FTPFile is a symbolic link.
SYNCH - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Synchronize code.
SYNTAX_ERROR_IN_ARGUMENTS - Static variable in class org.apache.commons.net.ftp.FTPReply
 
SYNTAX_ERROR_IN_ARGUMENTS - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
SYST - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
syst() - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP SYST command to the server, receive the reply, and return the reply code.
SYSTAT_PORT - Static variable in class org.apache.commons.net.CharGenUDPClient
The systat port value of 11 according to RFC 866.
SYSTAT_PORT - Static variable in class org.apache.commons.net.CharGenTCPClient
The systat port value of 11 according to RFC 866.
SYSTEM - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
SYSTEM_STATUS - Static variable in class org.apache.commons.net.ftp.FTPReply
 
SYSTEM_STATUS - Static variable in class org.apache.commons.net.smtp.SMTPReply
 

T

TACACS_USER_IDENTIFICATION - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
TELNET_TEXT_FORMAT - Static variable in class org.apache.commons.net.ftp.FTP
A constant used to indicate a text file contains format vertical format control characters.
TelnetClient - class org.apache.commons.net.telnet.TelnetClient.
The TelnetClient class implements the simple network virtual terminal (NVT) for the Telnet protocol according to RFC 854.
TelnetClient() - Constructor for class org.apache.commons.net.telnet.TelnetClient
Default TelnetClient constructor.
TelnetCommand - class org.apache.commons.net.telnet.TelnetCommand.
The TelnetCommand class cannot be instantiated and only serves as a storehouse for telnet command constants.
TelnetOption - class org.apache.commons.net.telnet.TelnetOption.
The TelnetOption class cannot be instantiated and only serves as a storehouse for telnet option constants.
TERMINAL_LOCATION_NUMBER - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
TERMINAL_SPEED - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
TERMINAL_TYPE - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
TFTP - class org.apache.commons.net.tftp.TFTP.
The TFTP class exposes a set of methods to allow you to deal with the TFTP protocol directly, in case you want to write your own TFTP client or server.
TFTP() - Constructor for class org.apache.commons.net.tftp.TFTP
Creates a TFTP instance with a default timeout of DEFAULT_TIMEOUT, a null socket, and buffered operations disabled.
TFTPAckPacket - class org.apache.commons.net.tftp.TFTPAckPacket.
A final class derived from TFTPPacket definiing the TFTP Acknowledgement packet type.
TFTPAckPacket(InetAddress, int, int) - Constructor for class org.apache.commons.net.tftp.TFTPAckPacket
Creates an acknowledgment packet to be sent to a host at a given port acknowledging receipt of a block.
TFTPClient - class org.apache.commons.net.tftp.TFTPClient.
The TFTPClient class encapsulates all the aspects of the TFTP protocol necessary to receive and send files through TFTP.
TFTPClient() - Constructor for class org.apache.commons.net.tftp.TFTPClient
Creates a TFTPClient instance with a default timeout of DEFAULT_TIMEOUT, maximum timeouts value of DEFAULT_MAX_TIMEOUTS, a null socket, and buffered operations disabled.
TFTPDataPacket - class org.apache.commons.net.tftp.TFTPDataPacket.
A final class derived from TFTPPacket definiing the TFTP Data packet type.
TFTPDataPacket(InetAddress, int, int, byte[]) - Constructor for class org.apache.commons.net.tftp.TFTPDataPacket
 
TFTPDataPacket(InetAddress, int, int, byte[], int, int) - Constructor for class org.apache.commons.net.tftp.TFTPDataPacket
Creates a data packet to be sent to a host at a given port with a given block number.
TFTPErrorPacket - class org.apache.commons.net.tftp.TFTPErrorPacket.
A final class derived from TFTPPacket definiing the TFTP Error packet type.
TFTPErrorPacket(InetAddress, int, int, String) - Constructor for class org.apache.commons.net.tftp.TFTPErrorPacket
Creates an error packet to be sent to a host at a given port with an error code and error message.
TFTPPacket - class org.apache.commons.net.tftp.TFTPPacket.
TFTPPacket is an abstract class encapsulating the functionality common to the 5 types of TFTP packets.
TFTPPacketException - exception org.apache.commons.net.tftp.TFTPPacketException.
A class used to signify the occurrence of an error in the creation of a TFTP packet.
TFTPPacketException() - Constructor for class org.apache.commons.net.tftp.TFTPPacketException
Simply calls the corresponding constructor of its superclass.
TFTPPacketException(String) - Constructor for class org.apache.commons.net.tftp.TFTPPacketException
Simply calls the corresponding constructor of its superclass.
TFTPReadRequestPacket - class org.apache.commons.net.tftp.TFTPReadRequestPacket.
A class derived from TFTPRequestPacket definiing a TFTP read request packet type.
TFTPReadRequestPacket(InetAddress, int, String, int) - Constructor for class org.apache.commons.net.tftp.TFTPReadRequestPacket
Creates a read request packet to be sent to a host at a given port with a filename and transfer mode request.
TFTPRequestPacket - class org.apache.commons.net.tftp.TFTPRequestPacket.
An abstract class derived from TFTPPacket definiing a TFTP Request packet type.
TFTPWriteRequestPacket - class org.apache.commons.net.tftp.TFTPWriteRequestPacket.
A class derived from TFTPRequestPacket definiing a TFTP write request packet type.
TFTPWriteRequestPacket(InetAddress, int, String, int) - Constructor for class org.apache.commons.net.tftp.TFTPWriteRequestPacket
Creates a write request packet to be sent to a host at a given port with a filename and transfer mode request.
TimeTCPClient - class org.apache.commons.net.TimeTCPClient.
The TimeTCPClient class is a TCP implementation of a client for the Time protocol described in RFC 868.
TimeTCPClient() - Constructor for class org.apache.commons.net.TimeTCPClient
The default TimeTCPClient constructor.
TimeUDPClient - class org.apache.commons.net.TimeUDPClient.
The TimeUDPClient class is a UDP implementation of a client for the Time protocol described in RFC 868.
TimeUDPClient() - Constructor for class org.apache.commons.net.TimeUDPClient
 
TIMING_MARK - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
ToNetASCIIInputStream - class org.apache.commons.net.io.ToNetASCIIInputStream.
This class wraps an input stream, replacing all singly occurring <LF> (linefeed) characters with <CR><LF> (carriage return followed by linefeed), which is the NETASCII standard for representing a newline.
ToNetASCIIInputStream(InputStream) - Constructor for class org.apache.commons.net.io.ToNetASCIIInputStream
Creates a ToNetASCIIInputStream instance that wraps an existing InputStream.
ToNetASCIIOutputStream - class org.apache.commons.net.io.ToNetASCIIOutputStream.
This class wraps an output stream, replacing all singly occurring <LF> (linefeed) characters with <CR><LF> (carriage return followed by linefeed), which is the NETASCII standard for representing a newline.
ToNetASCIIOutputStream(OutputStream) - Constructor for class org.apache.commons.net.io.ToNetASCIIOutputStream
Creates a ToNetASCIIOutputStream instance that wraps an existing OutputStream.
TOP - Static variable in class org.apache.commons.net.pop3.POP3Command
Retrieve top number lines from message.
toString() - Method in class org.apache.commons.net.ftp.FTPFile
Returns a string representation of the FTPFile information.
toString() - Method in class org.apache.commons.net.nntp.SimpleNNTPHeader
Converts the SimpleNNTPHeader to a properly formatted header in the form of a String, including the blank line used to separate the header from the article body.
toString() - Method in class org.apache.commons.net.smtp.SimpleSMTPHeader
Converts the SimpleSMTPHeader to a properly formatted header in the form of a String, including the blank line used to separate the header from the article body.
toString() - Method in class org.apache.commons.net.smtp.RelayPath
Return the properly formatted string representation of the relay path.
TRANSACTION_FAILED - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
TRANSACTION_STATE - Static variable in class org.apache.commons.net.pop3.POP3
A constant representing the POP3 transaction state.
TRANSFER_ABORTED - Static variable in class org.apache.commons.net.ftp.FTPReply
 
TRANSFER_FAILED - Static variable in class org.apache.commons.net.nntp.NNTPReply
 
TRANSFER_MODE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
TURN - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
turn() - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP TURN command to the server, receive the reply, and return the reply code.
TYPE - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
type(int) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP TYPE command to the server, receive the reply, and return the reply code.
type(int, int) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP TYPE command for text files to the server, receive the reply, and return the reply code.

U

UIDL - Static variable in class org.apache.commons.net.pop3.POP3Command
List unique message identifier(s).
UNDEFINED - Static variable in class org.apache.commons.net.tftp.TFTPErrorPacket
The undefined error code according to RFC 783, value 0.
UNKNOWN_POSTING_PERMISSION - Static variable in class org.apache.commons.net.nntp.NewsgroupInfo
A constant indicating that the posting permission of a newsgroup is unknown.
UNKNOWN_STREAM_SIZE - Static variable in class org.apache.commons.net.io.CopyStreamEvent
Constant used to indicate the stream size is unknown.
UNKNOWN_TID - Static variable in class org.apache.commons.net.tftp.TFTPErrorPacket
The unknown transfer id error code according to RFC 783, value 5.
UNKNOWN_TYPE - Static variable in class org.apache.commons.net.ftp.FTPFile
A constant indicating an FTPFile is of unknown type.
UNRECOGNIZED_COMMAND - Static variable in class org.apache.commons.net.ftp.FTPReply
 
UNRECOGNIZED_COMMAND - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
UPDATE_STATE - Static variable in class org.apache.commons.net.pop3.POP3
A constant representing the POP3 update state.
USER - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
USER - Static variable in class org.apache.commons.net.pop3.POP3Command
Send user name.
USER_ACCESS - Static variable in class org.apache.commons.net.ftp.FTPFile
A constant indicating user access permissions.
USER_LOGGED_IN - Static variable in class org.apache.commons.net.ftp.FTPReply
 
USER_NOT_LOCAL - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
USER_NOT_LOCAL_WILL_FORWARD - Static variable in class org.apache.commons.net.smtp.SMTPReply
 
user(String) - Method in class org.apache.commons.net.ftp.FTP
A convenience method to send the FTP USER command to the server, receive the reply, and return the reply code.
USERNAME - Static variable in class org.apache.commons.net.ftp.FTPCommand
 
Util - class org.apache.commons.net.io.Util.
The Util class cannot be instantiated and stores short static convenience methods that are often quite useful.

V

VERIFY - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
verify(String) - Method in class org.apache.commons.net.smtp.SMTPClient
Verify that a username or email address is valid, i.e., that mail can be delivered to that mailbox on the server.
verifyRemote(Socket) - Method in class org.apache.commons.net.SocketClient
Verifies that the remote end of the given socket is connected to the the same host that the SocketClient is currently connected to.
VRFY - Static variable in class org.apache.commons.net.smtp.SMTPCommand
 
vrfy(String) - Method in class org.apache.commons.net.smtp.SMTP
A convenience method to send the SMTP VRFY command to the server, receive the reply, and return the reply code.

W

WhoisClient - class org.apache.commons.net.WhoisClient.
The WhoisClient class implements the client side of the Internet Whois Protocol defined in RFC 954.
WhoisClient() - Constructor for class org.apache.commons.net.WhoisClient
The default whois constructor.
WILL - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Agree to use option code.
WINDOW_SIZE - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
WONT - Static variable in class org.apache.commons.net.telnet.TelnetCommand
Refuse to use option code.
WORLD_ACCESS - Static variable in class org.apache.commons.net.ftp.FTPFile
A constant indicating world access permissions.
WRITE_PERMISSION - Static variable in class org.apache.commons.net.ftp.FTPFile
A constant indicating file/directory write permission.
WRITE_REQUEST - Static variable in class org.apache.commons.net.tftp.TFTPPacket
This is the actual TFTP spec identifier and is equal to 2.
write(byte[]) - Method in class org.apache.commons.net.io.ToNetASCIIOutputStream
Writes a byte array to the stream.
write(byte[]) - Method in class org.apache.commons.net.io.FromNetASCIIOutputStream
Writes a byte array to the stream.
write(byte[], int, int) - Method in class org.apache.commons.net.io.ToNetASCIIOutputStream
Writes a number of bytes from a byte array to the stream starting from a given offset.
write(byte[], int, int) - Method in class org.apache.commons.net.io.SocketOutputStream
Writes a number of bytes from a byte array to the stream starting from a given offset.
write(byte[], int, int) - Method in class org.apache.commons.net.io.FromNetASCIIOutputStream
Writes a number of bytes from a byte array to the stream starting from a given offset.
write(char[]) - Method in class org.apache.commons.net.io.DotTerminatedMessageWriter
Writes a character array to the output.
write(char[], int, int) - Method in class org.apache.commons.net.io.DotTerminatedMessageWriter
Writes a number of characters from a character array to the output starting from a given offset.
write(int) - Method in class org.apache.commons.net.io.ToNetASCIIOutputStream
Writes a byte to the stream.
write(int) - Method in class org.apache.commons.net.io.FromNetASCIIOutputStream
Writes a byte to the stream.
write(int) - Method in class org.apache.commons.net.io.DotTerminatedMessageWriter
Writes a character to the output.
write(String) - Method in class org.apache.commons.net.io.DotTerminatedMessageWriter
Writes a String to the output.
write(String, int, int) - Method in class org.apache.commons.net.io.DotTerminatedMessageWriter
Writes part of a String to the output starting from a given offset.

X

X_DISPLAY_LOCATION - Static variable in class org.apache.commons.net.telnet.TelnetOption
 
X3_PAD - Static variable in class org.apache.commons.net.telnet.TelnetOption
 

_

__openDataConnection(int, String) - Method in class org.apache.commons.net.ftp.FTPClient
 
_commandSupport_ - Variable in class org.apache.commons.net.ftp.FTP
A ProtocolCommandSupport object used to manage the registering of ProtocolCommandListeners and te firing of ProtocolCommandEvents.
_commandSupport_ - Variable in class org.apache.commons.net.nntp.NNTP
A ProtocolCommandSupport object used to manage the registering of ProtocolCommandListeners and te firing of ProtocolCommandEvents.
_commandSupport_ - Variable in class org.apache.commons.net.pop3.POP3
A ProtocolCommandSupport object used to manage the registering of ProtocolCommandListeners and te firing of ProtocolCommandEvents.
_commandSupport_ - Variable in class org.apache.commons.net.smtp.SMTP
A ProtocolCommandSupport object used to manage the registering of ProtocolCommandListeners and te firing of ProtocolCommandEvents.
_connectAction_() - Method in class org.apache.commons.net.SocketClient
Because there are so many connect() methods, the _connectAction_() method is provided as a means of performing some action immediately after establishing a connection, rather than reimplementing all of the connect() methods.
_connectAction_() - Method in class org.apache.commons.net.ftp.FTPClient
 
_connectAction_() - Method in class org.apache.commons.net.ftp.FTP
 
_connectAction_() - Method in class org.apache.commons.net.nntp.NNTP
Initiates control connections and gets initial reply, determining if the client is allowed to post to the server.
_connectAction_() - Method in class org.apache.commons.net.pop3.POP3
Performs connection initialization and sets state to AUTHORIZATION_STATE .
_connectAction_() - Method in class org.apache.commons.net.smtp.SMTP
Initiates control connections and gets initial reply.
_connectAction_() - Method in class org.apache.commons.net.telnet.TelnetClient
Handles special connection requirements.
_defaultPort_ - Variable in class org.apache.commons.net.SocketClient
The default port the client should connect to.
_errorStream_ - Variable in class org.apache.commons.net.bsd.RExecClient
If a separate error stream is requested, _errorStream_ will point to an InputStream from which the standard error of the remote process can be read (after a call to rexec()).
_input_ - Variable in class org.apache.commons.net.SocketClient
The socket's InputStream.
_isConnected_ - Variable in class org.apache.commons.net.SocketClient
A status variable indicating if the client's socket is currently open.
_isOpen_ - Variable in class org.apache.commons.net.DatagramSocketClient
A status variable indicating if the client's socket is currently open.
_output_ - Variable in class org.apache.commons.net.SocketClient
The socket's OutputStream.
_socket_ - Variable in class org.apache.commons.net.DatagramSocketClient
The datagram socket used for the connection.
_socket_ - Variable in class org.apache.commons.net.SocketClient
The socket used for the connection.
_socketFactory_ - Variable in class org.apache.commons.net.DatagramSocketClient
The datagram socket's DatagramSocketFactory.
_socketFactory_ - Variable in class org.apache.commons.net.SocketClient
The socket's SocketFactory.
_timeout_ - Variable in class org.apache.commons.net.DatagramSocketClient
The timeout to use after opening a socket.
_timeout_ - Variable in class org.apache.commons.net.SocketClient
The timeout to use after opening a socket.

A B C D E F G H I L M N O P Q R S T U V W X _

Copyright © 1997-2003 Apache Software Foundation. All Rights Reserved.