Java org.apache.wicket.util.io IOUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.wicket.util.io IOUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.wicket.util.io IOUtils.

The text is from its open source code.

Method

voidclose(final Closeable closeable)
Closes a closeable.
voidcloseQuietly(final Closeable closeable)
Unconditionally close a Closeable.
booleancontentEquals(InputStream input1, InputStream input2)
Compare the contents of two Streams to determine if they are equal or not.
booleancontentEquals(Reader input1, Reader input2)
Compare the contents of two Readers to determine if they are equal or not.
intcopy(final InputStream input, final OutputStream output)
Copy bytes from an InputStream to an OutputStream.
voidcopy(final InputStream input, final Writer output)
Copy bytes from an InputStream to chars on a Writer using the default character encoding of the platform.
intcopy(final Reader input, final Writer output)
Copy chars from a Reader to a Writer.
voidcopy(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.
voidcopy(final InputStream input, final Writer output, final String encoding)
Copy bytes from an InputStream to chars on a Writer using the specified character encoding.
voidcopy(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.
StringtoString(final InputStream input)
Get the contents of an InputStream as a String using the default character encoding of the platform.
StringtoString(final Reader input)
Get the contents of a Reader as a String.
StringtoString(final InputStream input, final String encoding)
Get the contents of an InputStream as a String using the specified character encoding.
voidwrite(final byte[] data, final OutputStream output)
Writes bytes from a byte[] to an OutputStream.
voidwrite(final byte[] data, final Writer output)
Writes bytes from a byte[] to chars on a Writer using the default character encoding of the platform.
voidwrite(final char[] data, final Writer output)
Writes chars from a char[] to a Writer using the default character encoding of the platform.
voidwrite(final char[] data, final OutputStream output)
Writes chars from a char[] to bytes on an OutputStream.
voidwrite(final String data, final Writer output)
Writes chars from a String to a Writer.
voidwrite(final String data, final OutputStream output)
Writes chars from a String to bytes on an OutputStream using the default character encoding of the platform.
voidwrite(final StringBuilder data, final Writer output)
Writes chars from a AppendingStringBuffer to a Writer.
voidwrite(final StringBuilder data, final OutputStream output)
Writes chars from a AppendingStringBuffer to bytes on an OutputStream using the default character encoding of the platform.