Package lukfor.tables.io
Class TableBuilder
- java.lang.Object
-
- lukfor.tables.io.TableBuilder
-
public class TableBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description TableBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CsvTableOptionsfromCsvFile(String filename)static TablefromCsvFile(CsvTableOptions options)static TablefromDatabase(Connection connection, String sql)static TablefromFile(String filename, char separator)static TablefromTableReader(String name, genepi.io.table.reader.ITableReader reader, boolean columnTypeDetection, String[] columns)static ExcelTableOptionsfromXlsFile(String filename)static TablefromXlsFile(ExcelTableOptions options)
-
-
-
Method Detail
-
fromCsvFile
public static CsvTableOptions fromCsvFile(String filename)
-
fromCsvFile
public static Table fromCsvFile(CsvTableOptions options) throws IOException
- Throws:
IOException
-
fromXlsFile
public static ExcelTableOptions fromXlsFile(String filename) throws IOException
- Throws:
IOException
-
fromXlsFile
public static Table fromXlsFile(ExcelTableOptions options) throws IOException
- Throws:
IOException
-
fromFile
public static Table fromFile(String filename, char separator) throws IOException
- Throws:
IOException
-
fromTableReader
public static Table fromTableReader(String name, genepi.io.table.reader.ITableReader reader, boolean columnTypeDetection, String[] columns) throws IOException
- Throws:
IOException
-
fromDatabase
public static Table fromDatabase(Connection connection, String sql) throws SQLException, IOException
- Throws:
SQLExceptionIOException
-
-