R
- the specific type of Record
that is providedRecordFactory
public abstract class AbstractRecordFactory<R extends Record,M extends RecordMetaData>
extends java.lang.Object
Record
Constructor | Description |
---|---|
AbstractRecordFactory(Context context) |
Creates a new factory of
Record based the state of a parser |
Modifier and Type | Method | Description |
---|---|---|
abstract M |
createMetaData(Context context) |
|
M |
getRecordMetaData() |
Returns the metadata information associated with the records generated by this factory class
|
abstract R |
newRecord(java.lang.String[] data) |
Creates a new
Record with a row parsed from the input |
protected final M extends RecordMetaData metaData
public abstract R newRecord(java.lang.String[] data)
Record
with a row parsed from the inputdata
- the row parsed from the inputRecord
that provides many utility methods for consuming the data collected for a record parsed from the input.public final M getRecordMetaData()