|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Filters
The factory for Filter objects. Additionally, two null filter objects are provided that either always return true or false, respectively.
| Field Summary | |
|---|---|
static Filter |
FALSE_FILTER
A null filter object that does not match any given service reference. |
static Filter |
TRUE_FILTER
A null filter object that matches any given service reference. |
| Method Summary | |
|---|---|
Filter |
createFilter(String filter,
Filter nullFilter)
Create a filter for the given filter string or return the nullFilter in case the string is null. |
| Field Detail |
|---|
static final Filter TRUE_FILTER
static final Filter FALSE_FILTER
| Method Detail |
|---|
Filter createFilter(String filter,
Filter nullFilter)
throws InvalidSyntaxException
filter - The filter as a stringnullFilter - The default value to return if filter is null
InvalidSyntaxException - if BundleContext.createFilter()
throws an InvalidSyntaxException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||