java.lang.Object
net.i2p.installer.Main
Entry point for the installer's utility jar: dispatches to one of the other classes in this package, because the installer can only start a jar with a single main class. Usage:
java -jar utility.jar copy|delete|exec|fixwinpaths args...Field Summary
Constructor Summary
ConstructorsMethod Summary
All Methods
Field Details
USAGE
The command line shown when the installer is called wrongly- See Also:
Constructor Details
Main
public Main()Constructor. The class is only ever entered through main(), which dispatches straight to one of the command classes; an instance is a placeholder for that entry point.
Method Details
main
Run the command named by the first argument, passing it the rest.- Parameters:
args- command and its arguments- Throws:
IllegalArgumentException- if no command was given, or it is not one of copy, delete, exec, fixwinpaths