Package games.stendhal.client.update
Class Bootstrap
java.lang.Object
games.stendhal.client.update.Bootstrap
Starts a program after doing some classpath magic.
- Author:
- hendrik
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidStarts the main-method of specified class after dynamically building the classpath.voidsaves modified boot properties to disk.
-
Constructor Details
-
Bootstrap
public Bootstrap()
-
-
Method Details
-
saveBootProp
saves modified boot properties to disk.- Throws:
IOException- if an IO-error occurs
-
boot
Starts the main-method of specified class after dynamically building the classpath.- Parameters:
className- name of class with "main"-methodargs- command line arguments
-