Package org.beanio.internal.parser
Interface RecordFormat
-
- All Known Implementing Classes:
DelimitedRecordFormat,FixedLengthRecordFormat
public interface RecordFormatARecordFormatprovides format specific processing for aRecordparser.Implementations of this interface must be thread-safe.
- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(UnmarshallingContext context)Returns whether the record meets configured matching criteria during unmarshalling.voidvalidate(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- theUnmarshallingContextto validate
-
-