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 and Description |
---|
RecordFactory(Context context)
Creates a new factory of
Record based the state of a parser |
Modifier and Type | Method and Description |
---|---|
com.univocity.parsers.common.record.RecordMetaDataImpl |
createMetaData(Context context) |
Record |
newRecord(String[] data)
Creates a new
Record with a row parsed from the input |
getRecordMetaData
public Record newRecord(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>
Copyright © 2019 Univocity Software Pty Ltd. All rights reserved.