public static interface InstallationController.PackageSelector
PackageSelector
interface defines methods required for manually or
automatically selecting installed PEAR package root directories and PEAR package files.Modifier and Type | Method and Description |
---|---|
java.io.File |
selectPackageDirectory(java.lang.String componentId)
Selects root directory of an installed PEAR package in the local file system.
|
java.io.File |
selectPackageFile(java.lang.String componentId)
Selects a PEAR package file in the local file system.
|
java.net.URL |
selectPackageUrl(java.lang.String componentId)
Selects a PEAR package URL in the network.
|
java.io.File selectPackageDirectory(java.lang.String componentId)
null
.componentId
- The ID of the given installed component.null
, if the
given component is not installed yet.java.io.File selectPackageFile(java.lang.String componentId)
null
.componentId
- The ID of the given component.null
, if the PEAR file is not found
in the local file system.java.net.URL selectPackageUrl(java.lang.String componentId)
null
.componentId
- The ID of the given component.null
, if the PEAR package URL is not
found.Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.