1 package prefuse.data.io; 2 3 import prefuse.data.parser.DataParseException; 4 5 /** 6 * Callback interface used by AbstractTextTableReader instances to be 7 * used when a table value is encountered in parsing. 8 * 9 * @author <a HREF="http://jheer.org">jeffrey heer</a> 10 */ 11 public interface TableReadListener { 12 13 /** 14 * Notification that a text string representing a table value has 15 * been read. It is the job of this callback to then appropriately 16 * take action, such as parse and store the value. 17 * @param line the line of the file at which the value was encountered 18 * @param col the table column index at which the value was encountered 19 * @param value the text string representing the data value 20 * @throws DataParseException if an error occurs while parsing the data 21 */ 22 public void readValue(int line, int col, String value) 23 throws DataParseException; 24 25 } // end of interface TableReadListener 26