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

@param in the stream to read.

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

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