Modifier and Type | Method and Description |
---|---|
static String[] |
convertTablesToCSV(Page p,
char delim)
Calls
TableUtils.convertTablesToCSV(Page, char, String) with the specified page, cell delimiter, and
a single linefeed (\n) as a linebreak sequence. |
static String[] |
convertTablesToCSV(Page p,
char delim,
String linebreak)
Returns an array of CSV-formatted
String s, one for each Table found in the given
page, using the specified character as a cell delimiter and the specified String as a linebreak sequence. |
static String |
convertToCSV(Table table,
char delim)
Calls
TableUtils.convertToCSV(Table, char, String) with the specified Table , cell delimiter,
and a single linefeed (\n) as a linebreak sequence. |
static String |
convertToCSV(Table table,
char delim,
String linebreak)
Returns a CSV-formatted String based on the contents of the given
Table , using
the specified character as a cell delimiter and the specified String as a linebreak
sequence. |
static List<Table> |
getAllTables(Page p)
|
public static String convertToCSV(Table table, char delim)
TableUtils.convertToCSV(Table, char, String)
with the specified Table
, cell delimiter,
and a single linefeed (\n) as a linebreak sequence.public static String convertToCSV(Table table, char delim, String linebreak)
Table
, using
the specified character as a cell delimiter and the specified String as a linebreak
sequence.IOException
- if an error occurs generating the CSV conversionpublic static String[] convertTablesToCSV(Page p, char delim, String linebreak)
String
s, one for each Table
found in the given
page, using the specified character as a cell delimiter and the specified String as a linebreak sequence.
This is simply a shortcut to applying TableUtils.convertToCSV(Table, char, String)
to each Table
in the given Page
manually.IOException
- if an error occurs generating the CSV conversionpublic static String[] convertTablesToCSV(Page p, char delim)
TableUtils.convertTablesToCSV(Page, char, String)
with the specified page, cell delimiter, and
a single linefeed (\n) as a linebreak sequence.