Package org.apache.commons.net.io


package org.apache.commons.net.io
Utility classes for IO support.
  • Class
    Description
    The CopyStreamAdapter will relay CopyStreamEvents to a list of listeners when either of its bytesTransferred() methods are called.
    A CopyStreamEvent is triggered after every write performed by a stream copying operation.
    The CopyStreamException class is thrown by the org.apache.commons.io.Util copyStream() methods.
    The CopyStreamListener class can accept CopyStreamEvents to keep track of the progress of a stream copying operation.
    CRLFLineReader implements a readLine() method that requires exactly CRLF to terminate an input line.
    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 beginning of lines which do not signal end of message yet start with a dot.
    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 beginning of lines which do not signal end of message yet start with a dot.
    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.
    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.
    This class wraps an input stream, storing a reference to its originating socket.
    This class wraps an output stream, storing a reference to its originating socket.
    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.
    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.
    The Util class cannot be instantiated and stores short static convenience methods that are often quite useful.