| java.lang.Object workbench.db.importer.BadfileWriter
BadfileWriter | public class BadfileWriter (Code) | | A class to write rejected rows into a flat file.
author: support@sql-workbench.net |
BadfileWriter | public BadfileWriter(String fname, TableIdentifier table, String enc)(Code) | | Create a new BadFileWriter.
If fname indicates a directory, the resulting bad file will be name after
the name of the supplied table (@link TableIdentifier#getTableName()} with
the extendsion ".bad" and will be created in specified directory.
The file will be deleted upon creation of this BadFileWriter but will
not be created unless at leas one rejected row is written.
Parameters: fname - the name of the bad file to be created Parameters: table - the table for which the import is currently running Parameters: enc - the encoding for the output file See Also: BadfileWriter.recordRejected(String) |
getRows | public int getRows()(Code) | | |
recordRejected | public void recordRejected(String record)(Code) | | |
|
|