/** * Creates a new, empty table. Use addRow() to add additional rows. */ public Table() { init(); }
/** * Creates a new, empty table. Use addRow() to add additional rows. */ public Table() { init(); }
protected void init() { super.init(); dateColumns = new boolean[0]; }
/** * Read the table from a stream. Possible options include: * <ul> * <li>csv - parse the table as comma-separated values * <li>tsv - parse the table as tab-separated values * <li>newlines - this CSV file contains newlines inside individual cells * <li>header - this table has a header (title) row * </ul> * * @nowebref * @param input * @param options * @throws IOException */ public Table(InputStream input, String options) throws IOException { init(); parse(input, options); }
/** * Read the table from a stream. Possible options include: * <ul> * <li>csv - parse the table as comma-separated values * <li>tsv - parse the table as tab-separated values * <li>newlines - this CSV file contains newlines inside individual cells * <li>header - this table has a header (title) row * </ul> * * @nowebref * @param input * @param options * @throws IOException */ public Table(InputStream input, String options) throws IOException { init(); parse(input, options); }
/** * version that uses a File object; future releases (or data types) * may include additional optimizations here * * @nowebref */ public Table(File file, String options) throws IOException { // uses createInput() to handle .gz (and eventually .bz2) files init(); parse(PApplet.createInput(file), extensionOptions(true, file.getName(), options)); }
/** * version that uses a File object; future releases (or data types) * may include additional optimizations here * * @nowebref */ public Table(File file, String options) throws IOException { // uses createInput() to handle .gz (and eventually .bz2) files init(); parse(PApplet.createInput(file), extensionOptions(true, file.getName(), options)); }
init(); try { ResultSetMetaData rsmd = rs.getMetaData();
init(); try { ResultSetMetaData rsmd = rs.getMetaData();
public Table(Iterable<TableRow> rows) { init();