com.healthmarketscience.jackcess
Class SimpleExportFilter
java.lang.Object
com.healthmarketscience.jackcess.SimpleExportFilter
- All Implemented Interfaces:
- ExportFilter
public class SimpleExportFilter
- extends Object
- implements ExportFilter
Simple concrete implementation of ImportFilter which just returns the given
values.
- Author:
- James Ahlborn
INSTANCE
public static final SimpleExportFilter INSTANCE
SimpleExportFilter
public SimpleExportFilter()
filterColumns
public List<Column> filterColumns(List<Column> columns)
throws IOException
- Description copied from interface:
ExportFilter
- The columns that should be used to create the exported file.
- Specified by:
filterColumns
in interface ExportFilter
- 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
public Object[] filterRow(Object[] row)
throws IOException
- Description copied from interface:
ExportFilter
- The desired values for the row.
- Specified by:
filterRow
in interface ExportFilter
- 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.