@Test(expected = ParseException.class) public void testRandomQuote2() throws ParseException, IOException { this.parser.parse("f'f#t.D3"); }
public CellRef parse(final String address) throws ParseException, UnsupportedEncodingException { final int dotIndex = address.lastIndexOf(CellRef.TABLE_CELL_SEP); final String localCellAddress; final TableRef tableRef; if (dotIndex == -1) { tableRef = null; localCellAddress = address; } else { final String tableAddress = address.substring(0, dotIndex); tableRef = this.tableAddressParser.parse(tableAddress); localCellAddress = address.substring(dotIndex + 1); } final LocalCellRef localCellRef = this.localCellAddressParser.parse(localCellAddress); return new CellRef(tableRef, localCellRef); }
CellAddressParser { public CellRef parse(final String address) throws ParseException, UnsupportedEncodingException { final int dotIndex = address.lastIndexOf(CellRef.TABLE_CELL_SEP); final String localCellAddress; final TableRef tableRef; if (dotIndex == -1) { tableRef = null; localCellAddress = address; } else { final String tableAddress = address.substring(0, dotIndex); tableRef = this.tableAddressParser.parse(tableAddress); localCellAddress = address.substring(dotIndex + 1); } final LocalCellRef localCellRef = this.localCellAddressParser.parse(localCellAddress); return new CellRef(tableRef, localCellRef); } }
CellAddressParser { public CellRef parse(final String address) throws ParseException, UnsupportedEncodingException { final int dotIndex = address.lastIndexOf(CellRef.TABLE_CELL_SEP); final String localCellAddress; final TableRef tableRef; if (dotIndex == -1) { tableRef = null; localCellAddress = address; } else { final String tableAddress = address.substring(0, dotIndex); tableRef = this.tableAddressParser.parse(tableAddress); localCellAddress = address.substring(dotIndex + 1); } final LocalCellRef localCellRef = this.localCellAddressParser.parse(localCellAddress); return new CellRef(tableRef, localCellRef); } CellAddressParser(final TableAddressParser tableAddressParser,
                             final LocalCellAddressParser localCellAddressParser); }
CellAddressParser { public CellRef parse(final String address) throws ParseException, UnsupportedEncodingException { final int dotIndex = address.lastIndexOf(CellRef.TABLE_CELL_SEP); final String localCellAddress; final TableRef tableRef; if (dotIndex == -1) { tableRef = null; localCellAddress = address; } else { final String tableAddress = address.substring(0, dotIndex); tableRef = this.tableAddressParser.parse(tableAddress); localCellAddress = address.substring(dotIndex + 1); } final LocalCellRef localCellRef = this.localCellAddressParser.parse(localCellAddress); return new CellRef(tableRef, localCellRef); } CellAddressParser(final TableAddressParser tableAddressParser,
                             final LocalCellAddressParser localCellAddressParser); static CellAddressParser create(final TableNameUtil tableNameUtil); CellRef parse(final String address); }
CellAddressParser { public CellRef parse(final String address) throws ParseException, UnsupportedEncodingException { final int dotIndex = address.lastIndexOf(CellRef.TABLE_CELL_SEP); final String localCellAddress; final TableRef tableRef; if (dotIndex == -1) { tableRef = null; localCellAddress = address; } else { final String tableAddress = address.substring(0, dotIndex); tableRef = this.tableAddressParser.parse(tableAddress); localCellAddress = address.substring(dotIndex + 1); } final LocalCellRef localCellRef = this.localCellAddressParser.parse(localCellAddress); return new CellRef(tableRef, localCellRef); } CellAddressParser(final TableAddressParser tableAddressParser,
                             final LocalCellAddressParser localCellAddressParser); static CellAddressParser create(final TableNameUtil tableNameUtil); CellRef parse(final String address);  }