com.univocity.parsers.common
Interface RecordFilter<R extends com.univocity.parsers.common.record.Record,C extends com.univocity.parsers.common.Context>
- Type Parameters:
R - the type of record to filter.C - the a contextual object with the current parsing state
public interface RecordFilter<R extends com.univocity.parsers.common.record.Record,C extends com.univocity.parsers.common.Context>
A filter of records captured by the parser. Allows discarding records,
before any Nesting operation is applied or any link following occurs
|
Method Summary |
boolean |
accept(R record,
C context)
Determines whether the given record should be accepted by the parser or discarded. |
accept
boolean accept(R record,
C context)
- Determines whether the given record should be accepted by the parser or discarded.
- Parameters:
record - the record to acceptcontext - the current state of the parser
- Returns:
true if the record should be accepted by the parser for
further processing, or false if the record should be discarded
Copyright © 2018 Univocity Software Pty Ltd. All rights reserved.