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 TypeMethodDescriptionboolean
Compares thisFilter
to anotherFilter
.int
hashCode()
Returns the hashCode for thisFilter
.boolean
match
(Dictionary<String, ?> dctnr) Filter using aDictionary
with case insensitive key lookup.boolean
Filter using a service's properties.boolean
matchCase
(Dictionary<String, ?> dctnr) Filter using aDictionary
.boolean
Filter using aMap
.toString()
Returns thisFilter
's filter string.
-
Constructor Details
-
FilterImpl
- Throws:
InvalidSyntaxException
-
-
Method Details
-
match
Description copied from interface:Filter
Filter using a service's properties.This
Filter
is 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:Filter
Filter using aDictionary
with case insensitive key lookup. ThisFilter
is executed using the specifiedDictionary
's keys and values. The keys are looked up in a case insensitive manner. -
matchCase
Description copied from interface:Filter
Filter using aDictionary
. ThisFilter
is executed using the specifiedDictionary
's keys and values. The keys are looked up in a normal manner respecting case. -
matches
Description copied from interface:Filter
Filter using aMap
. ThisFilter
is executed using the specifiedMap
's keys and values. The keys are looked up in a normal manner respecting case. -
equals
Description copied from interface:Filter
Compares thisFilter
to anotherFilter
.This implementation returns the result of calling
this.toString().equals(obj.toString())
. -
hashCode
public int hashCode()Description copied from interface:Filter
Returns the hashCode for thisFilter
.This implementation returns the result of calling
this.toString().hashCode()
. -
toString
Description copied from interface:Filter
Returns thisFilter
's filter string.The filter string is normalized by removing whitespace which does not affect the meaning of the filter.
-