public void copyTo(Writer out, Charset charset) throws IOException {
    """
	Copies the content of this resource to the specified stream.
	
	@param out the stream to copy to.
	@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.
    """
		InputStream in = url.openStream();
		try {
			CharStreams.copy(in, out, charset);
		} finally {
			IO.close(in);
		}
	}
public void copyTo(Writer out, Charset charset) throws IOException
	{
		InputStream in = url.openStream();
		try {
			CharStreams.copy(in, out, charset);
		} finally {
			IO.close(in);
		}
	}
public void copyTo ( Writer out , Charset charset ) throws IOException { InputStream in = url . openStream ( ) ; try { CharStreams . copy ( in , out , charset ) ; } finally { IO . close ( in ) ; } }
Copies the content of this resource to the specified stream.

@param out the stream to copy to.
@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 this resource to the specified stream .