net.imagej.launcher
Class JarLauncher

java.lang.Object
  extended by net.imagej.launcher.JarLauncher

public class JarLauncher
extends Object

A convenience class to launch main classes defined in .jar files' manifests.

The idea is to simulate what java -jar ... does, but through the ImageJ launcher.

Author:
Johannes Schindelin

Constructor Summary
JarLauncher()
           
 
Method Summary
static void launchJar(String jarPath, String[] arguments)
          Helper to launch .jar files (by inspecting their Main-Class attribute).
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarLauncher

public JarLauncher()
Method Detail

main

public static void main(String[] args)

launchJar

public static void launchJar(String jarPath,
                             String[] arguments)
Helper to launch .jar files (by inspecting their Main-Class attribute).



Copyright © 2009–2016 ImageJ. All rights reserved.