org.ops4j.pax.swissbox.extender
Class BundleURLScanner
java.lang.Object
org.ops4j.pax.swissbox.extender.BundleEntryScanner<T>
org.ops4j.pax.swissbox.extender.BundleURLEntryScanner<URL>
org.ops4j.pax.swissbox.extender.BundleURLScanner
- All Implemented Interfaces:
- BundleScanner<URL>
public class BundleURLScanner
- extends BundleURLEntryScanner<URL>
A bundle scanner that creates URL's out of entries.
- Since:
- 0.1.0, December 26, 2007
- Author:
- Alin Dreghiciu
Method Summary |
protected URL |
createResource(org.osgi.framework.Bundle bundle,
URL entry)
Creates an URL for the entry (same as the parameter) |
BundleURLScanner
public BundleURLScanner(String path,
String filePattern,
boolean recurse)
- Delegate to BundleEntryScanner.
- See Also:
BundleEntryScanner.BundleEntryScanner(String,String,boolean)
BundleURLScanner
public BundleURLScanner(String pathManifestHeader,
String filePatternManifestHeader,
String recurseManifestHeader,
String path,
String filePattern,
boolean recurse)
- Delegate to BundleEntryScanner.
- See Also:
BundleEntryScanner.BundleEntryScanner(String,String,boolean)
createResource
protected URL createResource(org.osgi.framework.Bundle bundle,
URL entry)
- Creates an URL for the entry (same as the parameter)
- Specified by:
createResource
in class BundleURLEntryScanner<URL>
- Parameters:
bundle
- bundle that contains the entriesentry
- found entry
- Returns:
- URL for the watched entry
Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.