Package org.beanio.internal.parser
Interface RecordFormat
-
- All Known Implementing Classes:
DelimitedRecordFormat
,FixedLengthRecordFormat
public interface RecordFormat
ARecordFormat
provides format specific processing for aRecord
parser.Implementations of this interface must be thread-safe.
- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
- theUnmarshallingContext
- 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
- theUnmarshallingContext
to validate
-
-