Class Bootstrap

java.lang.Object
games.stendhal.client.update.Bootstrap

public class Bootstrap extends Object
Starts a program after doing some classpath magic.
Author:
hendrik
  • Constructor Details

    • Bootstrap

      public Bootstrap()
  • Method Details

    • saveBootProp

      public void saveBootProp() throws IOException
      saves modified boot properties to disk.
      Throws:
      IOException - if an IO-error occurs
    • boot

      public void boot(String className, String[] args)
      Starts the main-method of specified class after dynamically building the classpath.
      Parameters:
      className - name of class with "main"-method
      args - command line arguments