public class MockFilter extends Object implements org.osgi.framework.Filter
Constructor and Description |
---|
MockFilter()
Constructs a new
MockFilter instance. |
MockFilter(String filter)
Constructs a new
MockFilter instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
match(Dictionary dictionary) |
boolean |
match(org.osgi.framework.ServiceReference reference) |
boolean |
matchCase(Dictionary dictionary) |
String |
toString() |
public MockFilter()
MockFilter
instance.public MockFilter(String filter)
MockFilter
instance.filter
- OSGi filterpublic boolean match(org.osgi.framework.ServiceReference reference)
match
in interface org.osgi.framework.Filter
public boolean match(Dictionary dictionary)
match
in interface org.osgi.framework.Filter
public boolean matchCase(Dictionary dictionary)
matchCase
in interface org.osgi.framework.Filter
Copyright © 2006–2018. All rights reserved.