APIdia Launch Partner
Top Description Methods
io.github.spannm.jackcess.util

public Interface ExportFilter

Known Direct Implementers
io.github.spannm.jackcess.util.SimpleExportFilter
Imports
io.github.spannm.jackcess.Column, java.util.List

Interface which allows customization of the behavior of the ExportUtil export methods.

Method Summary

Modifier and TypeMethod and Description
public List<Column>

Returns:

the columns to use when creating the export file
filterColumns
(List<Column>
the columns as determined by the export code, may be directly modified and returned
columns
)

The columns that should be used to create the exported file.

public Object[]

Returns:

the row data as it should be written to the import table. if null, the row will be skipped
filterRow
(Object[]
the row data as determined by the import code, may be directly modified
row
)

The desired values for the row.

Method Detail

filterColumnsback to summary
public List<Column> filterColumns(List<Column> columns)

The columns that should be used to create the exported file.

Parameters
columns:List<Column>

the columns as determined by the export code, may be directly modified and returned

Returns:List<Column>

the columns to use when creating the export file

filterRowback to summary
public Object[] filterRow(Object[] row)

The desired values for the row.

Parameters
row:Object[]

the row data as determined by the import code, may be directly modified

Returns:Object[]

the row data as it should be written to the import table. if null, the row will be skipped