src/org/kocakosm/pitaya/io/CharStreams.java
public static void copy(InputStream in, Writer out, Charset charset)
		throws IOException
	{
		copy(new InputStreamReader(in, charset), out);
	}
public static void copy(InputStream in, Writer out, Charset charset)
		throws IOException
	{
		copy(new InputStreamReader(in, charset), out);
	}
Copies the content of the given {@code InputStream} into the given
{@code Writer} using the specified charset.

@param in the {@code InputStream} to read from.
@param out the {@code Reader} to write on.
@param charset the charset to use.

@throws NullPointerException if one of the arguments is {@code null}.
@throws IOException if an I/O error occurs during the process.