|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.loader.XNapLoader
public class XNapLoader
Checks if a version of XNap is available in the users preferences directory and launches the newest version found.
Field Summary | |
---|---|
static java.lang.String |
LOADER_FILENAME
|
static java.lang.String |
VERSION
Current version of the core distribution. |
Constructor Summary | |
---|---|
XNapLoader()
|
Method Summary | |
---|---|
static void |
err(java.lang.Object o)
Prints o.toString() to stderr. |
static java.io.File |
getJar()
Returns the jar that contains the XNapLoader class. |
static java.io.File |
getJarPath()
Returns path of the jar that contains the XNapLoader class. |
static java.net.URL[] |
getStartupClassPath(java.io.InputStream inStream,
java.io.File parent,
boolean requireVersion)
|
static boolean |
invoke(java.lang.String filename,
boolean requireVersion,
java.lang.String[] argv)
|
static void |
main(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VERSION
Format: '$MAJOR.$MINOR[-$EXTRA(1-9)]' $EXTRA can be 'alpha', 'beta' or 'pre' Examples: 1.3-alpha1, 2.1-pre1, 2.4
Security fix related releases should append 'r(1-9)' to the version, like this 2.4r1 .
public static final java.lang.String LOADER_FILENAME
Constructor Detail |
---|
public XNapLoader()
Method Detail |
---|
public static void main(java.lang.String[] argv)
public static void err(java.lang.Object o)
o.toString()
to stderr.
public static java.net.URL[] getStartupClassPath(java.io.InputStream inStream, java.io.File parent, boolean requireVersion) throws java.io.IOException
java.io.IOException
public static java.io.File getJar()
public static java.io.File getJarPath()
getJar()
public static boolean invoke(java.lang.String filename, boolean requireVersion, java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |