|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.runner.scanner.dir.internal.DirScanner
public class DirScanner
A scanner that scans directory content for bundles.
| Field Summary |
|---|
| Fields inherited from interface org.ops4j.pax.runner.provision.Scanner |
|---|
SCHEMA_PROPERTY |
| Constructor Summary | |
|---|---|
DirScanner(org.ops4j.util.property.PropertyResolver propertyResolver)
Creates a new file scanner. |
|
| Method Summary | |
|---|---|
java.util.List<BundleReference> |
scan(java.lang.String urlSpec)
Reads the bundles from the file specified by the urlSpec. |
void |
setResolver(org.ops4j.util.property.PropertyResolver propertyResolver)
Sets the propertyResolver to use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirScanner(org.ops4j.util.property.PropertyResolver propertyResolver)
propertyResolver - a propertyResolver; mandatory| Method Detail |
|---|
public java.util.List<BundleReference> scan(java.lang.String urlSpec)
throws MalformedSpecificationException,
ScannerException
scan in interface ScannerurlSpec - url spec to the text file containing the bundle.
MalformedSpecificationException - if the path is malformed
ScannerException - if an exception eccured durring scanningpublic void setResolver(org.ops4j.util.property.PropertyResolver propertyResolver)
propertyResolver - a propertyResolver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||