public class MockFilter
extends java.lang.Object
implements org.osgi.framework.Filter
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
filter |
| Constructor and Description |
|---|
MockFilter()
Constructs a new
MockFilter instance. |
MockFilter(java.lang.String filter)
Constructs a new
MockFilter instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(java.util.Dictionary dictionary) |
boolean |
match(org.osgi.framework.ServiceReference reference) |
boolean |
matchCase(java.util.Dictionary dictionary) |
java.lang.String |
toString() |
public MockFilter()
MockFilter instance.public MockFilter(java.lang.String filter)
MockFilter instance.filter - OSGi filterpublic boolean match(org.osgi.framework.ServiceReference reference)
match in interface org.osgi.framework.Filterpublic boolean match(java.util.Dictionary dictionary)
match in interface org.osgi.framework.Filterpublic boolean matchCase(java.util.Dictionary dictionary)
matchCase in interface org.osgi.framework.Filterpublic java.lang.String toString()
toString in interface org.osgi.framework.FiltertoString in class java.lang.Object