/** * Equivalent with {@code readAll(is, false)}. */ public static byte[] readAll(InputStream is) throws IOException { return InputStreams.readAll(is, false); }
/** @deprecated Use {@link InputStreams#readAll(InputStream, Charset, boolean)} instead */ @Deprecated public static String readAll(InputStream inputStream, Charset charset, boolean closeInputStream) throws IOException { return InputStreams.readAll(inputStream, charset, closeInputStream); }
/** @deprecated Use {@link InputStreams#readAll(InputStream)} instead */ @Deprecated public static byte[] readAll(InputStream is) throws IOException { return InputStreams.readAll(is); }