|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.biojava.bio.seq.FeatureFilter.BySource
Construct one of these to filter features by source.
Inner classes inherited from class org.biojava.bio.seq.FeatureFilter |
FeatureFilter.AcceptAllFilter,
FeatureFilter.And,
FeatureFilter.BySource,
FeatureFilter.ByType,
FeatureFilter.ContainedByLocation,
FeatureFilter.Not,
FeatureFilter.Or,
FeatureFilter.OverlapsLocation |
Fields inherited from interface org.biojava.bio.seq.FeatureFilter |
all |
Constructor Summary | |
FeatureFilter.BySource(java.lang.String source)
Create a BySource filter that filters in all features which have sources equal to source. |
Method Summary | |
boolean |
accept(Feature f)
This method determines whether a fetaure is to be accepted. |
java.lang.String |
getSource()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public FeatureFilter.BySource(java.lang.String source)
type
- the String to match source fields againstMethod Detail |
public java.lang.String getSource()
public boolean accept(Feature f)
f
- the Feature to evaluate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |