|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.parser.Record org.beanio.parser.delimited.DelimitedRecord
public class DelimitedRecord
The DelimitedRecord stores field text in a String array and works with either the CsvReader or DeimitedReader.
Constructor Summary | |
---|---|
DelimitedRecord()
Constructs a new DelimitedRecord. |
Method Summary | |
---|---|
void |
clear()
Clears the current state of the record before the next record is read. |
int |
getFieldCount()
Returns the number of fields read from the input stream. |
String |
getFieldText(int position)
Returns the field text at the given position in the record. |
void |
setValue(Object value)
Sets the value of the record as returned from the RecordReader |
Methods inherited from class org.beanio.parser.Record |
---|
addFieldError, addFieldErrorMessage, addRecordError, addRecordErrorMessage, getContext, getFieldOffset, getFieldOffsets, getFieldText, getFieldText, getLocale, getRecordLineNumber, getRecordName, getRecordText, hasFieldErrors, hasFieldErrors, hasRecordErrors, popField, pushField, setFieldOffset, setFieldText, setLineNumber, setLocale, setMessageContext, setRecordName, setRecordText, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DelimitedRecord()
Method Detail |
---|
public void clear()
Record
clear
in class Record
public void setValue(Object value)
Record
setValue
in class Record
value
- the record value read by a record readerRecordReader
public int getFieldCount()
public String getFieldText(int position)
position
- the position of the field wihin the record
|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |