class StreamReader implements Reader {

    public String readStreamIntoString(Charset charset) throws IOException
    {
        ByteBuffer buf = readStreamIntoBuffer();
        return new String(buf.array(), 0, buf.limit(), charset);
    }

    public  StreamReader(InputStream stream);
    public  StreamReader(InputStream stream, int contentLength);
    public  StreamReader(InputStream stream, int estimatedContentLength, int maxContentLength);

}