Copy chars from a Reader to a Writer.
Copy chars from a Reader to a Writer.
This method buffers the input internally, so there is no need to use a BufferedReader.
Copy bytes from an InputStream to an OutputStream.
Copy bytes from an InputStream to an OutputStream.
This method buffers the input internally, so there is no need to use a BufferedInputStream.
Copy bytes from an Resource[InputStream] to an Resource[OutputStream].
Copy bytes from an Resource[InputStream] to an Resource[OutputStream].
This method buffers the input internally, so there is no need to use a BufferedInputStream.
Attempt to detect the charset of the InputStream using the XML Detector or the Universal Detector
Attempt to detect the charset of the InputStream using the XML Detector or the Universal Detector
Attempt to detect the charset of the InputStream using org.mozilla.universalchardet.UniversalDetector
Attempt to detect the charset of the InputStream using org.mozilla.universalchardet.UniversalDetector
Read characters from an input character stream.
Read characters from an input character stream. This implementation guarantees that it will read as many characters as possible before giving up; this IS NOT ALWAYS the case for subclasses of Reader.
Read characters from an input character stream.
Read characters from an input character stream. This implementation guarantees that it will read as many characters as possible before giving up; this IS NOT ALWAYS the case for subclasses of Reader.
Read bytes from an input stream.
Read bytes from an input stream. This implementation guarantees that it will read as many bytes as possible before giving up; this IS NOT ALWAYS the case for subclasses of InputStream.
Read bytes from an input stream.
Read bytes from an input stream. This implementation guarantees that it will read as many bytes as possible before giving up; this IS NOT ALWAYS the case for subclasses of InputStream.
Skip characters from an input character stream.
Skip characters from an input character stream. This implementation guarantees that it will read as many characters as possible before giving up; this IS NOT ALWAYS the case for subclasses of Reader.
Skip bytes from an input byte stream.
Skip bytes from an input byte stream. This implementation guarantees that it will read as many bytes as possible before giving up; this IS NOT ALWAYS the case for subclasses of Reader.
If this is already a BufferedInputStream return this otherwise wrap in a BufferedInputStream
If this is already a BufferedOutputStream return this otherwise wrap in a BufferedOutputStream
If this is already a BufferedReader return this otherwise wrap in a BufferedReader
If this is already a BufferedWriter return this otherwise wrap in a BufferedWriter
Get the contents of an InputStream as a byte[].
Get the contents of an InputStream as a byte[].
This method buffers the input internally, so there is no need to use a BufferedInputStream.
Get the contents of a Reader as a character array.
Get the contents of a Reader as a character array.
This method buffers the input internally, so there is no need to use a BufferedReader.
Get the contents of a Reader as a String.
Get the contents of a Reader as a String.
This method buffers the input internally, so there is no need to use a BufferedReader.
Collection of IO Utilities. Some implemented via Apache Commons IO