org.osgi.framework.FrameworkUtil Class Reference

List of all members.


Detailed Description

Framework Utility class.

This class contains utility methods which access Framework functions that may be useful to bundles.

Since:
1.3

Definition at line 52 of file FrameworkUtil.java.


Static Public Member Functions

static Filter createFilter (String filter) throws InvalidSyntaxException
 Creates a Filter object.

Member Function Documentation

static Filter org.osgi.framework.FrameworkUtil.createFilter ( String  filter  )  throws InvalidSyntaxException [static]

Creates a Filter object.

This Filter object may be used to match a ServiceReference object or a Dictionary object.

If the filter cannot be parsed, an InvalidSyntaxException will be thrown with a human readable message where the filter became unparsable.

Parameters:
filter The filter string.
Returns:
A Filter object encapsulating the filter string.
Exceptions:
InvalidSyntaxException If filter contains an invalid filter string that cannot be parsed.
NullPointerException If filter is null.
See also:
Filter

Definition at line 76 of file FrameworkUtil.java.


The documentation for this class was generated from the following file:
Generated on Mon Jan 11 21:19:24 2010 for OpenMobileIS by  doxygen 1.5.4