Example usage for Java org.apache.wicket.util.io IOUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close(final Closeable closeable) Closes a closeable. |
void | closeQuietly(final Closeable closeable) Unconditionally close a Closeable . |
boolean | contentEquals(InputStream input1, InputStream input2) Compare the contents of two Streams to determine if they are equal or not. |
boolean | contentEquals(Reader input1, Reader input2) Compare the contents of two Readers to determine if they are equal or not. |
int | copy(final InputStream input, final OutputStream output) Copy bytes from an InputStream to an OutputStream . |
void | copy(final InputStream input, final Writer output) Copy bytes from an InputStream to chars on a Writer using the default character encoding of the platform. |
int | copy(final Reader input, final Writer output) Copy chars from a Reader to a Writer . |
void | copy(final Reader input, final OutputStream output) Copy chars from a Reader to bytes on an OutputStream using the default character encoding of the platform, and calling flush. |
void | copy(final InputStream input, final Writer output, final String encoding) Copy bytes from an InputStream to chars on a Writer using the specified character encoding. |
void | copy(final Reader input, final OutputStream output, final String encoding) Copy chars from a Reader to bytes on an OutputStream using the specified character encoding, and calling flush. |
byte[] | toByteArray(final InputStream input) Get the contents of an InputStream as a byte[] . |
byte[] | toByteArray(final Reader input) Get the contents of a Reader as a byte[] using the default character encoding of the platform. |
String | toString(final InputStream input) Get the contents of an InputStream as a String using the default character encoding of the platform. |
String | toString(final Reader input) Get the contents of a Reader as a String. |
String | toString(final InputStream input, final String encoding) Get the contents of an InputStream as a String using the specified character encoding. |
void | write(final byte[] data, final OutputStream output) Writes bytes from a byte[] to an OutputStream . |
void | write(final byte[] data, final Writer output) Writes bytes from a byte[] to chars on a Writer using the default character encoding of the platform. |
void | write(final char[] data, final Writer output) Writes chars from a char[] to a Writer using the default character encoding of the platform. |
void | write(final char[] data, final OutputStream output) Writes chars from a char[] to bytes on an OutputStream . |
void | write(final String data, final Writer output) Writes chars from a String to a Writer . |
void | write(final String data, final OutputStream output) Writes chars from a String to bytes on an OutputStream using the default character encoding of the platform. |
void | write(final StringBuilder data, final Writer output) Writes chars from a AppendingStringBuffer to a Writer . |
void | write(final StringBuilder data, final OutputStream output) Writes chars from a AppendingStringBuffer to bytes on an OutputStream using the default character encoding of the platform. |