public class YAACBootstrap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
WINDOWS
Symbolic name for Microsoft Windows operating systems, associated with OSNAME key in properties table.
|
Modifier and Type | Method and Description |
---|---|
static void |
findJSSCLibrary(java.lang.String javaClassPath)
Search for the JSSC library jar to put on the class path if it is not already there.
|
static java.lang.String |
findYAACBaseDir(java.lang.Class<?> yaacBootstrapClass)
Find the base directory for the YAAC installation for a given starting class.
|
static java.io.File |
getBaseDir()
Get the base directory of the YAAC installation.
|
static java.lang.String |
getJavaExecPath()
Find where the executable of the Java VM launcher is, so we can start another
Java VM.
|
static java.net.URL |
getJsscURL()
Get the URL pointing to where the located JSSC library is stored.
|
static java.lang.String |
getOsName()
Get the name of the host operating system.
|
static void |
main(java.lang.String[] args)
Launch the YAAC program's bootstrap.
|
public static final java.lang.String WINDOWS
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- String array of command-line argument tokensjava.lang.Exception
- if YAAC could not be invoked for any reasonpublic static java.lang.String getJavaExecPath()
public static java.lang.String findYAACBaseDir(java.lang.Class<?> yaacBootstrapClass)
yaacBootstrapClass
- Class to locate on the classpathpublic static void findJSSCLibrary(java.lang.String javaClassPath)
javaClassPath
- String of classpath before looking for JSSCpublic static java.io.File getBaseDir()
public static java.net.URL getJsscURL()
public static java.lang.String getOsName()