Class NegatingFilter
java.lang.Object
de.uni_hildesheim.sse.easy.loader.framework.NegatingFilter
- All Implemented Interfaces:
IBundleFilter
Implements a negating delegating filter, i.e., a filter which obtains
the initial results from a delegate filter and negates the return values.
- Author:
- Holger Eichelberger
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the givenjarshall be accepted.booleanacceptSymbolicName(String name) Returns whether the given symbolicnameshall be accepted.
-
Field Details
-
filter
-
-
Constructor Details
-
NegatingFilter
Creates a negating delegating filter.- Parameters:
filter- the filter to obtain the results from
-
-
Method Details
-
acceptJar
Description copied from interface:IBundleFilterReturns whether the givenjarshall be accepted.- Specified by:
acceptJarin interfaceIBundleFilter- Parameters:
jar- the JAR to be analyzed- Returns:
trueif it shall be accepted,falseelse
-
acceptSymbolicName
Description copied from interface:IBundleFilterReturns whether the given symbolicnameshall be accepted.- Specified by:
acceptSymbolicNamein interfaceIBundleFilter- Parameters:
name- the name to be analyzed- Returns:
trueif it shall be accepted,falseelse
-