Package org.apache.felix.framework
Class FilterImpl
java.lang.Object
org.apache.felix.framework.FilterImpl
- All Implemented Interfaces:
Filter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares thisFilterto anotherFilter.inthashCode()Returns the hashCode for thisFilter.booleanmatch(Dictionary<String, ?> dctnr) Filter using aDictionarywith case insensitive key lookup.booleanFilter using a service's properties.booleanmatchCase(Dictionary<String, ?> dctnr) Filter using aDictionary.booleanFilter using aMap.toString()Returns thisFilter's filter string.
-
Constructor Details
-
FilterImpl
- Throws:
InvalidSyntaxException
-
-
Method Details
-
match
Description copied from interface:FilterFilter using a service's properties.This
Filteris executed using the keys and values of the referenced service's properties. The keys are looked up in a case insensitive manner. -
match
Description copied from interface:FilterFilter using aDictionarywith case insensitive key lookup. ThisFilteris executed using the specifiedDictionary's keys and values. The keys are looked up in a case insensitive manner. -
matchCase
Description copied from interface:FilterFilter using aDictionary. ThisFilteris executed using the specifiedDictionary's keys and values. The keys are looked up in a normal manner respecting case. -
matches
Description copied from interface:FilterFilter using aMap. ThisFilteris executed using the specifiedMap's keys and values. The keys are looked up in a normal manner respecting case. -
equals
Description copied from interface:FilterCompares thisFilterto anotherFilter.This implementation returns the result of calling
this.toString().equals(obj.toString()). -
hashCode
public int hashCode()Description copied from interface:FilterReturns the hashCode for thisFilter.This implementation returns the result of calling
this.toString().hashCode(). -
toString
Description copied from interface:FilterReturns thisFilter's filter string.The filter string is normalized by removing whitespace which does not affect the meaning of the filter.
-