/** * Reads all lines from a stream, removes the header, and closes the stream. * * @param stream * the input stream */ public static String readAllLinesAndRemoveHeader(InputStream stream) throws IOException { return readAllLinesAndRemoveHeader(stream, Integer.MAX_VALUE); }
/** * Reads all lines from a stream, removes the header, and closes the stream. * * @param stream * the input stream */ public static String readAllLinesAndRemoveHeader(InputStream stream) throws IOException { return readAllLinesAndRemoveHeader(stream, Integer.MAX_VALUE); }