|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.univocity.parsers.common.record.RecordFactory
public class RecordFactory
A factory class that provides implementations of Record based on the current state
of an AbstractParser(via its ParsingContext), and raw input records.
| Constructor Summary | |
|---|---|
RecordFactory(Context context,
int errorContentLength)
Creates a new factory of Record based the state of a parser |
|
| Method Summary | |
|---|---|
RecordMetaData |
getRecordMetaData()
Returns the metadata information associated with the records generated by this factory class |
Record |
newRecord(String[] data)
Creates a new Record with a row parsed from the input |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecordFactory(Context context,
int errorContentLength)
Record based the state of a parser
context - the parser contexterrorContentLength - the maximum length of contents displayed in exception messages in case of errors while parsing.| Method Detail |
|---|
public Record newRecord(String[] data)
Record with a row parsed from the input
data - the row parsed from the input
Record that provides many utility methods for consuming the data collected for a record parsed from the input.public RecordMetaData getRecordMetaData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||