@Test(expectedExceptions = IllegalArgumentException.class) public void testMissingEncoding() throws IOException { StreamTool.consume(new ByteArrayInputStream("lolwut".getBytes(UTF8)), null); }
public static String consume(final InputStream stream, final Charset encoding) throws IOException { return maybeConsume(stream, encoding, 0); }
StreamTool { public static String consume(final InputStream stream, final Charset encoding) throws IOException { return maybeConsume(stream, encoding, 0); } }
StreamTool { public static String consume(final InputStream stream, final Charset encoding) throws IOException { return maybeConsume(stream, encoding, 0); }  }
StreamTool { public static String consume(final InputStream stream, final Charset encoding) throws IOException { return maybeConsume(stream, encoding, 0); }  static String consume(final InputStream stream, final Charset encoding); static String consume(final Reader in); static String consume(final Reader in, final int limit); static String maybeConsume(final InputStream stream, final Charset encoding, final int limit); }
StreamTool { public static String consume(final InputStream stream, final Charset encoding) throws IOException { return maybeConsume(stream, encoding, 0); }  static String consume(final InputStream stream, final Charset encoding); static String consume(final Reader in); static String consume(final Reader in, final int limit); static String maybeConsume(final InputStream stream, final Charset encoding, final int limit); static Charset UTF8; }