public class OsgiUtils extends Object
Constructor and Description |
---|
OsgiUtils() |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
getAllBundleExports(FileFilter filter,
Set<String> pkgs)
All the packages that are exported from all bundles found on the system
classpath.
|
static String |
getBundleExports(File bundle)
Gets the attribute value for the Export-Bundle OSGi Manifest Attribute.
|
static Set<File> |
getClasspathCandidates(FileFilter filter) |
static Set<String> |
splitIntoPackages(String exports,
Set<String> pkgs)
Splits an Package-Export OSGi Manifest Attribute value into packages
while stripping away the key/value properties.
|
public OsgiUtils()
public static Set<String> getAllBundleExports(FileFilter filter, Set<String> pkgs)
public static Set<String> splitIntoPackages(String exports, Set<String> pkgs)
exports
- The Package-Export OSGi Manifest Attribute value.public static Set<File> getClasspathCandidates(FileFilter filter)
public static String getBundleExports(File bundle)
bundle
- The absolute path to a file bundle.Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.