src/org/kocakosm/pitaya/io/CharStreams.java
public static String read(InputStream in, Charset charset)
		throws IOException
	{
		return read(new InputStreamReader(in, charset));
	}
public static String read(InputStream in, Charset charset)
		throws IOException
	{
		return read(new InputStreamReader(in, charset));
	}
Reads the whole content of the given {@code InputStream} into a
{@code String} using the specified charset.

@param in the stream to read.
@param charset the stream's charset.

@return the stream's content as a {@code String}.

@throws NullPointerException if one of the arguments is {@code null}.
@throws IOException if the stream cannot be read.