|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.seq.FilterUtils.DelegatingTransformer
public class FilterUtils.DelegatingTransformer
An implementation of FilterTransformer that attempts to transform by one transformer, and if that fails, by another.
Constructor Summary | |
---|---|
FilterUtils.DelegatingTransformer(FilterUtils.FilterTransformer t1,
FilterUtils.FilterTransformer t2)
Create a new DelegatingTransformer that will apply t1 and then t2 if t1 fails. |
Method Summary | |
---|---|
FeatureFilter |
transform(FeatureFilter ff)
Transform a filter, or return null if it can not be transformed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilterUtils.DelegatingTransformer(FilterUtils.FilterTransformer t1, FilterUtils.FilterTransformer t2)
t1
- the first FilterTransformer to tryt2
- the seccond FilterTransformer to tryMethod Detail |
---|
public FeatureFilter transform(FeatureFilter ff)
FilterUtils.FilterTransformer
transform
in interface FilterUtils.FilterTransformer
ff
- the FeatureFilter to attempt to transform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |