org.biojava.bio.program.gff
Interface GFFRecordFilter
- All Known Implementing Classes:
- GFFRecordFilter.AcceptAll, GFFRecordFilter.SequenceFilter, GFFRecordFilter.SourceFilter, GFFRecordFilter.FeatureFilter
- public interface GFFRecordFilter
A filter that will accept or reject a GFFEntry.
- Author:
- Matthew Pocock
Method Summary |
boolean |
accept(GFFRecord record)
Return wether or not to accept record. |
ACCEPT_ALL
public static final GFFRecordFilter ACCEPT_ALL
- A GFFRecordFilter that accepts everything.
accept
public boolean accept(GFFRecord record)
- Return wether or not to accept record.
- Parameters:
entry
- the GFFRecord to filter- Returns:
- true if record
should be accepted or false otherwise