Package org.beanio.stream
Interface RecordUnmarshaller
-
- All Known Implementing Classes:
CsvRecordParser,DelimitedRecordParser,FixedLengthRecordParser,JsonRecordUnmarshaller,XmlRecordUnmarshaller
public interface RecordUnmarshallerInterface for unmarshalling a single record.The class used to represent a record is specific to the format of a record. For example, a delimited record marshaller may use
Stringp[].- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectunmarshal(java.lang.String text)Unmarshals a single record.
-
-
-
Method Detail
-
unmarshal
java.lang.Object unmarshal(java.lang.String text) throws RecordIOExceptionUnmarshals a single record.- Parameters:
text- the record text to unmarshal- Returns:
- the unmarshalled record object
- Throws:
RecordIOException- if the record is malformed and cannot be parsed
-
-