|
BeanIO 2.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.stream.delimited.DelimitedRecordParser
public class DelimitedRecordParser
A combined RecordMarshaller
and RecordUnmarshaller
implementation
for delimited formatted records.
Constructor Summary | |
---|---|
DelimitedRecordParser()
Constructs a new DelimitedRecordParser. |
|
DelimitedRecordParser(DelimitedParserConfiguration config)
Constructs a new DelimitedRecordParser. |
Method Summary | |
---|---|
String |
marshal(Object record)
Marshals a single record object to a String. |
String |
marshal(String[] record)
Marshals a String array into a delimited record. |
String[] |
unmarshal(String text)
Unmarshals a single record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelimitedRecordParser()
public DelimitedRecordParser(DelimitedParserConfiguration config)
config
- the parser configuration settingsMethod Detail |
---|
public String[] unmarshal(String text)
RecordUnmarshaller
unmarshal
in interface RecordUnmarshaller
text
- the record text to unmarshal
public String marshal(Object record)
RecordMarshaller
marshal
in interface RecordMarshaller
record
- the record object to marshal
public String marshal(String[] record)
record
- the String[] to marshal
|
BeanIO 2.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |