@Test(expected = UnsupportedOperationException.class) public void quoteAndEscapeMustBeDifferent() throws IOException { StringBuilder sb = new StringBuilder(CsvParser.INITIAL_READ_SIZE); sb.append("a,b,c,ddd\\\"eee\nf,g,h,\"iii,jjj\""); CsvParser parser = new CsvParserBuilder(). quoteChar(CsvParser.DEFAULT_QUOTE_CHAR). escapeChar(CsvParser.DEFAULT_QUOTE_CHAR). build(); CsvReader cr = null; try { cr = new CsvReader(new StringReader(sb.toString()), parser); } finally { if (cr != null) { cr.close(); } } }
@Override public void close() throws IOException { br.close(); }
CsvReader implements Closeable, Iterable<String[]> { @Override public void close() throws IOException { br.close(); } }
CsvReader implements Closeable, Iterable<String[]> { @Override public void close() throws IOException { br.close(); } CsvReader(Reader reader);  CsvReader(Reader reader, int line);  CsvReader(Reader reader, CsvParser csvParser);  CsvReader(Reader reader, int line, CsvParser csvParser); }
CsvReader implements Closeable, Iterable<String[]> { @Override public void close() throws IOException { br.close(); } CsvReader(Reader reader);  CsvReader(Reader reader, int line);  CsvReader(Reader reader, CsvParser csvParser);  CsvReader(Reader reader, int line, CsvParser csvParser); List<String[]> readAll(); String[] readNext(); @Override void close(); @Override Iterator<String[]> iterator(); }
CsvReader implements Closeable, Iterable<String[]> { @Override public void close() throws IOException { br.close(); } CsvReader(Reader reader);  CsvReader(Reader reader, int line);  CsvReader(Reader reader, CsvParser csvParser);  CsvReader(Reader reader, int line, CsvParser csvParser); List<String[]> readAll(); String[] readNext(); @Override void close(); @Override Iterator<String[]> iterator(); static final int DEFAULT_SKIP_LINES; }