Package org.biojava.bio.program.gff
Interface GFFRecordFilter
- All Known Implementing Classes:
GFFRecordFilter.AcceptAll,GFFRecordFilter.FeatureFilter,GFFRecordFilter.FrameFilter,GFFRecordFilter.NotFilter,GFFRecordFilter.SequenceFilter,GFFRecordFilter.SourceFilter,GFFRecordFilter.StrandFilter
public interface GFFRecordFilter
A filter that will accept or reject a GFFEntry.
- Author:
- Matthew Pocock, Keith James (docs)
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classImplementation of GFFRecordFilter that accepts everything.static classImplementation of GFFRecordFilter that accepts records based upon the feature field.static classstatic classstatic classImplementation of GFFRecordFilter that accepts records based upon the sequence name.static classImplementation of GFFRecordFilter that accepts records based upon the source field.static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GFFRecordFilterA GFFRecordFilter that accepts everything. -
Method Summary
-
Field Details
-
ACCEPT_ALL
A GFFRecordFilter that accepts everything.
-
-
Method Details
-
accept
Return whether or not to accept record.- Parameters:
record- the GFFRecord to filter- Returns:
- true if record should be accepted or false otherwise
-