|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.uima.pear.tools.SimplePackageSelector
public class SimplePackageSelector
The SimplePackageSelector
class provides simple command line dialog for selecting
root directories of installed PEAR packages, as well as PEAR package files, which contain
components that need to be installed.
Constructor Summary | |
---|---|
SimplePackageSelector()
Default constructor. |
|
SimplePackageSelector(PrintWriter stdOut,
PrintWriter stdErr)
Constructor that takes given standard console streams writers. |
Method Summary | |
---|---|
File |
selectPackageDirectory(String componentId)
Allows entering the installation directory path for a given component from the console window. |
File |
selectPackageFile(String componentId)
Allows entering the PEAR file path for a given component from the console window. |
URL |
selectPackageUrl(String componentId)
Allows entering the PEAR package URL for a given component from the console window. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimplePackageSelector(PrintWriter stdOut, PrintWriter stdErr)
stdOut
- The given standard output stream writer.stdErr
- The given standard error stream writer.public SimplePackageSelector()
Method Detail |
---|
public File selectPackageDirectory(String componentId)
selectPackageDirectory
in interface InstallationController.PackageSelector
componentId
- The given component ID.
null
, if the
entered string is empty.public File selectPackageFile(String componentId)
selectPackageFile
in interface InstallationController.PackageSelector
componentId
- The given component ID.
null
, if the entered string is
empty.public URL selectPackageUrl(String componentId)
selectPackageUrl
in interface InstallationController.PackageSelector
componentId
- The given component ID.
null
, if the entered
string is empty.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |