/** * Produces lines from a ISO 8859-1-encoded {@link InputStream}. */ public static ProducerWhichThrows<String, IOException> lineProducerISO8859_1(InputStream in) { // SUPPRESS CHECKSTYLE MethodName|AbbreviationAsWord return LineUtil.lineProducer(new InputStreamReader(in, LineUtil.CHARSET_ISO_8859_1)); }
/** * Produces lines from a ISO 8859-1-encoded {@link InputStream}. */ public static ProducerWhichThrows<String, IOException> lineProducerISO8859_1(InputStream in) { // SUPPRESS CHECKSTYLE MethodName|AbbreviationAsWord return LineUtil.lineProducer(new InputStreamReader(in, LineUtil.CHARSET_ISO_8859_1)); }
Producer<? extends CharSequence> lp = LineUtil.lineProducer(sb); for (boolean first = true;; first = false) {