org.knopflerfish.framework
Constructor and Description |
---|
FilterImpl(java.lang.String filter) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this
Filter object to another object. |
int |
hashCode()
Returns the hashCode for this
Filter object. |
boolean |
match(java.util.Dictionary dictionary)
Filter using a
Dictionary object. |
boolean |
match(ServiceReference reference)
Filter using a service's properties.
|
boolean |
matchCase(java.util.Dictionary dictionary)
Filter with case sensitivity using a
Dictionary object. |
java.lang.String |
toString()
Returns this
Filter object's filter string. |
public FilterImpl(java.lang.String filter) throws InvalidSyntaxException
InvalidSyntaxException
public boolean match(ServiceReference reference)
Filter
The filter is executed using the keys and values of the referenced service's properties. The keys are case insensitively matched with the filter.
public boolean match(java.util.Dictionary dictionary)
Filter
Dictionary
object. The Filter is executed
using the Dictionary
object's keys and values. The keys
are case insensitively matched with the filter.public boolean matchCase(java.util.Dictionary dictionary)
Filter
Dictionary
object.
The Filter is executed using the Dictionary
object's keys
and values. The keys are case sensitively matched with the filter.public java.lang.String toString()
Filter
Filter
object's filter string.
The filter string is normalized by removing whitespace which does not affect the meaning of the filter.
public boolean equals(java.lang.Object obj)
Filter
Filter
object to another object.