com.healthmarketscience.jackcess
Interface ExportFilter

All Known Implementing Classes:
SimpleExportFilter

public interface ExportFilter

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

Author:
James Ahlborn

Method Summary
 List<Column> filterColumns(List<Column> columns)
          The columns that should be used to create the exported file.
 Object[] filterRow(Object[] row)
          The desired values for the row.
 

Method Detail

filterColumns

List<Column> filterColumns(List<Column> columns)
                           throws IOException
The columns that should be used to create the exported file.

Parameters:
columns - the columns as determined by the export code, may be directly modified and returned
Returns:
the columns to use when creating the export file
Throws:
IOException

filterRow

Object[] filterRow(Object[] row)
                   throws IOException
The desired values for the row.

Parameters:
row - the row data as determined by the import code, may be directly modified
Returns:
the row data as it should be written to the import table. if null, the row will be skipped
Throws:
IOException


Copyright © 2005-2013 Health Market Science. All Rights Reserved.