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

@param in the {@code Reader} to read from.
@param out the {@code OutputStream} 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.
Copies the content of the given { @code Reader } into the given { @code OutputStream } using the specified charset .