Package org.apache.uima.pear.tools
Interface InstallationController.PackageSelector
-
- All Known Implementing Classes:
PackageSelectorGUI,SimplePackageSelector
- Enclosing class:
- InstallationController
public static interface InstallationController.PackageSelectorThePackageSelectorinterface defines methods required for manually or automatically selecting installed PEAR package root directories and PEAR package files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.FileselectPackageDirectory(java.lang.String componentId)Selects root directory of an installed PEAR package in the local file system.java.io.FileselectPackageFile(java.lang.String componentId)Selects a PEAR package file in the local file system.java.net.URLselectPackageUrl(java.lang.String componentId)Selects a PEAR package URL in the network.
-
-
-
Method Detail
-
selectPackageDirectory
java.io.File selectPackageDirectory(java.lang.String componentId)
Selects root directory of an installed PEAR package in the local file system. If the given component is not installed yet, returnsnull.- Parameters:
componentId- The ID of the given installed component.- Returns:
- The root directory of the installed PEAR package, or
null, if the given component is not installed yet.
-
selectPackageFile
java.io.File selectPackageFile(java.lang.String componentId)
Selects a PEAR package file in the local file system. If the given component PEAR file is not found, returnsnull.- Parameters:
componentId- The ID of the given component.- Returns:
- The given PEAR package file, or
null, if the PEAR file is not found in the local file system.
-
selectPackageUrl
java.net.URL selectPackageUrl(java.lang.String componentId)
Selects a PEAR package URL in the network. If the given component PEAR package URL is not found, returnsnull.- Parameters:
componentId- The ID of the given component.- Returns:
- The given PEAR package URL, or
null, if the PEAR package URL is not found.
-
-