- toString
Get the contents of a byte[] as a String using the specified character encoding.
Character encoding
- closeQuietly
Closes a Closeable unconditionally. Equivalent to Closeable#close(), except any
exceptions will be i
- copy
Copy chars from a Reader to a Writer. This method buffers the input internally,
so there is no need
- toByteArray
Gets the contents of a URLConnection as a byte[].
- readLines
Get the contents of a Reader as a list of Strings, one entry per line. This
method buffers the input
- write
Writes chars from a char[] to a Writer using the default character encoding of
the platform.
- toInputStream
Converts the specified string to an input stream, encoded as bytes using the
specified character enc
- copyLarge
Copies chars from a large (over 2GB) Reader to a Writer. This method uses the
provided buffer, so th
- lineIterator
Return an Iterator for the lines in a Reader.LineIterator holds a reference to the openReader specif
- readFully
Reads the requested number of bytes or fail if there are not enough left. This
allows for the possib
- contentEquals
Compare the contents of two Readers to determine if they are equal or not. This
method buffers the i
- read
Reads bytes from a ReadableByteChannel. This implementation guarantees that it
will read as many byt