Module is.codion.swing.common.model
Interface FilterTableModel.Export<C>
- Enclosing interface:
FilterTableModel<R,C>
public static interface FilterTableModel.Export<C>
Exports the table model data as a String.
-
Method Details
-
columns
- Parameters:
columns- the columns to export, default all- Returns:
- this Export instance
-
delimiter
- Parameters:
delimiter- the column delimiter, TAB by default- Returns:
- this Export instance
-
header
- Parameters:
header- include a column header, default true- Returns:
- this Export instance
-
selected
- Parameters:
selected- include only selected rows, default false- Returns:
- this Export instance
-
replaceNewline
Replaces newlines inside strings.
Note that strings are always trimmed so newlines at the beginning and end of strings are trimmed before replacement is performed.
Default replacement is a single whitespace (" ").
Set to null to keep newlines in place.
- Parameters:
replacement- the string to use when replacing newlines- Returns:
- this Export instance
-
get
String get()- Returns:
- the exported table data as a String
-