@Test(expectedExceptions = IllegalArgumentException.class) public void testMissingStream() throws IOException { StreamTool.maybeConsume(null, UTF8, 0); }
public static String maybeConsume(final InputStream stream, final Charset encoding, final int limit) throws IOException { Assert.nonNull(stream, encoding); return consume(new InputStreamReader(stream, encoding), limit); }
StreamTool { public static String maybeConsume(final InputStream stream, final Charset encoding, final int limit) throws IOException { Assert.nonNull(stream, encoding); return consume(new InputStreamReader(stream, encoding), limit); } }
StreamTool { public static String maybeConsume(final InputStream stream, final Charset encoding, final int limit) throws IOException { Assert.nonNull(stream, encoding); return consume(new InputStreamReader(stream, encoding), limit); }  }
StreamTool { public static String maybeConsume(final InputStream stream, final Charset encoding, final int limit) throws IOException { Assert.nonNull(stream, encoding); return consume(new InputStreamReader(stream, encoding), limit); }  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 maybeConsume(final InputStream stream, final Charset encoding, final int limit) throws IOException { Assert.nonNull(stream, encoding); return consume(new InputStreamReader(stream, encoding), limit); }  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; }