public class FixedLengthRecordParser extends Object implements RecordMarshaller, RecordUnmarshaller
RecordMarshaller and RecordUnmarshaller implementation
for fixed length formatted records.| Constructor and Description |
|---|
FixedLengthRecordParser()
Constructs a new FixedLengthRecordParser.
|
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(Object record)
Marshals a single record object to a String.
|
String |
marshal(String record)
Marshals a single fixed length record.
|
Object |
unmarshal(String text)
Unmarshals a single record.
|
public FixedLengthRecordParser()
public Object unmarshal(String text)
RecordUnmarshallerunmarshal in interface RecordUnmarshallertext - the record text to unmarshalpublic String marshal(Object record)
RecordMarshallermarshal in interface RecordMarshallerrecord - the record object to marshal