|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.biojava.bio.program.gff.GFFRecordFilter.SourceFilter
Implementation of GFFRecordFilter that accepts records based upon the source field.
| Nested Class Summary |
| Nested classes inherited from class org.biojava.bio.program.gff.GFFRecordFilter |
GFFRecordFilter.AcceptAll, GFFRecordFilter.FeatureFilter, GFFRecordFilter.FrameFilter, GFFRecordFilter.NotFilter, GFFRecordFilter.SequenceFilter, GFFRecordFilter.SourceFilter, GFFRecordFilter.StrandFilter |
| Field Summary |
| Fields inherited from interface org.biojava.bio.program.gff.GFFRecordFilter |
ACCEPT_ALL |
| Constructor Summary | |
GFFRecordFilter.SourceFilter()
|
|
GFFRecordFilter.SourceFilter(java.lang.String source)
|
|
| Method Summary | |
boolean |
accept(GFFRecord record)
Return whether or not to accept record. |
java.lang.String |
getSource()
Retrieve the current source. |
void |
setSource(java.lang.String source)
Set the source to source. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GFFRecordFilter.SourceFilter()
public GFFRecordFilter.SourceFilter(java.lang.String source)
| Method Detail |
public java.lang.String getSource()
public void setSource(java.lang.String source)
source - the new source to matchpublic boolean accept(GFFRecord record)
GFFRecordFilter
accept in interface GFFRecordFilter() ==
this.getSource()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||