# Package org.apache.commons.net.io

package org.apache.commons.net.io
Utility classes for IO support.

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