CSVParser { public String[] parseLineMulti(String nextLine) throws IOException { return parseLine(nextLine, true); } CSVParser();  CSVParser(char separator);  CSVParser(char separator, char quotechar);  CSVParser(char separator, char quotechar, char escape);  CSVParser(char separator, char quotechar, char escape, boolean strictQuotes);  CSVParser(char separator, char quotechar, char escape, boolean strictQuotes, boolean ignoreLeadingWhiteSpace);  CSVParser(char separator, char quotechar, char escape, boolean strictQuotes, boolean ignoreLeadingWhiteSpace,
                     boolean ignoreQuotations); boolean isPending(); String[] parseLineMulti(String nextLine); String[] parseLine(String nextLine); static final char DEFAULT_SEPARATOR; static final int INITIAL_READ_SIZE; static final char DEFAULT_QUOTE_CHARACTER; static final char DEFAULT_ESCAPE_CHARACTER; static final boolean DEFAULT_STRICT_QUOTES; static final boolean DEFAULT_IGNORE_LEADING_WHITESPACE; static final boolean DEFAULT_IGNORE_QUOTATIONS; }
@Test public void parseQuotedQuoteCharacters() throws IOException { String[] nextLine = csvParser.parseLineMulti("\"Glen \"\"The Man\"\" Smith\",Athlete,Developer\n"); assertEquals(3, nextLine.length); assertEquals("Glen \"The Man\" Smith", nextLine[0]); assertEquals("Athlete", nextLine[1]); assertEquals("Developer\n", nextLine[2]); }