public class RecordFactory extends AbstractRecordFactory<Record,com.univocity.parsers.common.record.RecordMetaDataImpl>
Record
based on the current state
of an AbstractParser
(via its ParsingContext
), and raw input records.metaData
Constructor | Description |
---|---|
RecordFactory(Context context) |
Creates a new factory of
Record based the state of a parser |
Modifier and Type | Method | Description |
---|---|---|
com.univocity.parsers.common.record.RecordMetaDataImpl |
createMetaData(Context context) |
|
Record |
newRecord(java.lang.String[] data) |
Creates a new
Record with a row parsed from the input |
getRecordMetaData
public Record newRecord(java.lang.String[] data)
Record
with a row parsed from the inputnewRecord
in class AbstractRecordFactory<Record,com.univocity.parsers.common.record.RecordMetaDataImpl>
data
- the row parsed from the inputRecord
that provides many utility methods for consuming the data collected for a record parsed from the input.public com.univocity.parsers.common.record.RecordMetaDataImpl createMetaData(Context context)
createMetaData
in class AbstractRecordFactory<Record,com.univocity.parsers.common.record.RecordMetaDataImpl>