Package ca.phon.query.report.datasource
Class TableDataSourceFormatter
java.lang.Object
ca.phon.query.report.datasource.TableDataSourceFormatter
- All Implemented Interfaces:
Formatter<TableDataSource>
@FormatterType(TableDataSource.class)
public class TableDataSourceFormatter
extends Object
implements Formatter<TableDataSource>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionformat
(TableDataSource table) Convert the given object into a formatted String.Parse the given string into a new object instance
-
Constructor Details
-
TableDataSourceFormatter
public TableDataSourceFormatter() -
TableDataSourceFormatter
public TableDataSourceFormatter(boolean useFirstColumnAsHeader)
-
-
Method Details
-
format
Description copied from interface:Formatter
Convert the given object into a formatted String.- Specified by:
format
in interfaceFormatter<TableDataSource>
- Returns:
- formatted string
-
parse
Description copied from interface:Formatter
Parse the given string into a new object instance- Specified by:
parse
in interfaceFormatter<TableDataSource>
- Returns:
- parsed object
- Throws:
ParseException
- if there was a problem parsing the given text
-