@Test public void empty_record() { String result = emit(null, w -> { expectUnmappable(w, ErrorCode.EXTRA_EMPTY_FIELD); }); assertThat(result, is(lines(new String[][] { { "", }, }))); }
private void emit(int c) { assert c >= 0; lineBuffer.append((char) c); }
TabularFieldWriter implements FieldWriter { private void emit(int c) { assert c >= 0; lineBuffer.append((char) c); } }
TabularFieldWriter implements FieldWriter { private void emit(int c) { assert c >= 0; lineBuffer.append((char) c); } TabularFieldWriter(
            Writer writer,
            LineSeparator lineSeparator,
            char fieldSeparator,
            EscapeSequence escapeSequences,
            UnaryOperator<CharSequence> transformer); }
TabularFieldWriter implements FieldWriter { private void emit(int c) { assert c >= 0; lineBuffer.append((char) c); } TabularFieldWriter(
            Writer writer,
            LineSeparator lineSeparator,
            char fieldSeparator,
            EscapeSequence escapeSequences,
            UnaryOperator<CharSequence> transformer); @Override void putField(FieldOutput output); @Override void putEndOfRecord(); @Override void close(); }
TabularFieldWriter implements FieldWriter { private void emit(int c) { assert c >= 0; lineBuffer.append((char) c); } TabularFieldWriter(
            Writer writer,
            LineSeparator lineSeparator,
            char fieldSeparator,
            EscapeSequence escapeSequences,
            UnaryOperator<CharSequence> transformer); @Override void putField(FieldOutput output); @Override void putEndOfRecord(); @Override void close();  }