Class Install
java.lang.Object
org.jpos.q2.install.Install
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidExtracts every classpath resource underprefixintooutputBasePath.static voidEntry point: parses the command-line options and invokesinstall(boolean, File, boolean, String).
-
Constructor Details
-
Install
public Install()Default constructor; no instance state to initialise.
-
-
Method Details
-
main
Entry point: parses the command-line options and invokesinstall(boolean, File, boolean, String).- Parameters:
args- command-line arguments (see option descriptions in source)- Throws:
Exception- if option parsing or extraction fails
-
install
public void install(boolean allowOverride, File outputBasePath, boolean verbose, String prefix) throws IOException Extracts every classpath resource underprefixintooutputBasePath.- Parameters:
allowOverride- overwrite existing files whentrueoutputBasePath- destination directory (created when missing)verbose- log each extracted file whentrueprefix- classpath prefix to scan- Throws:
IOException- if classpath enumeration or extraction fails
-