BeanIO 2.0.4

org.beanio.internal.parser
Interface RecordFormat

All Known Implementing Classes:
DelimitedRecordFormat, FixedLengthRecordFormat

public interface RecordFormat

A RecordFormat provides format specific processing for a Record parser.

Implementations of this interface must be thread-safe.

Since:
2.0
Author:
Kevin Seim

Method Summary
 boolean matches(UnmarshallingContext context)
          Returns whether the record meets configured matching criteria during unmarshalling.
 void validate(UnmarshallingContext context)
          Validates a record during unmarshalling.
 

Method Detail

matches

boolean matches(UnmarshallingContext context)
Returns whether the record meets configured matching criteria during unmarshalling.

Parameters:
context - the UnmarshallingContext
Returns:
true if the record meets all matching criteria, false otherwise
Since:
2.0.3

validate

void validate(UnmarshallingContext context)
Validates a record during unmarshalling.

Parameters:
context - the UnmarshallingContext to validate

BeanIO 2.0.4

Copyright © 2010-2013 Kevin Seim