|
terp - the Codemesh Modular Template Interpreter v1.3.309 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.codemesh.terp.data.Jre.Impl
public static class Jre.Impl
An implementation of the Jre interface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.codemesh.terp.data.Jre |
|---|
Jre.Impl |
| Field Summary | |
|---|---|
protected static java.util.Set<Jre> |
ALL_JRES
|
protected static boolean |
bIsMacOS
|
protected static boolean |
bIsWindows
|
protected JavaExecutor |
java
|
protected static java.lang.String |
JAVA_EXE_NAME
|
protected static java.lang.String |
JAVAC_EXE_NAME
|
protected Jdk |
jdk
|
protected java.io.File |
jreHome
|
protected CaseInsensitiveTreeMap<java.lang.String> |
properties
|
protected Path |
sysClassPath
|
protected static OS |
theOS
|
protected static ToFile |
TO_FILE
|
protected static ToString |
TO_STRING
|
protected static ToVersion |
TO_VERSION
|
| Fields inherited from interface com.codemesh.terp.data.Jre |
|---|
DIR, HOME_DIR, MAKER, VERSION |
| Constructor Summary | |
|---|---|
protected |
Jre.Impl()
|
| Method Summary | |
|---|---|
int |
compareTo(Jre o)
|
boolean |
equals(java.lang.Object o)
|
static Jre |
fromMap(java.util.Map<java.lang.String,java.lang.Object> map)
|
static java.util.Set<Jre> |
getAll()
|
java.io.File |
getDir()
Returns the JRE's home directory. |
java.io.File |
getHomeDir()
Returns the JRE's home directory. |
JavaExecutor |
getJava()
Returns the java executor. |
Jdk |
getJdk()
Returns the JRE's JDK or null if it does not belong to a JDK. |
java.io.File[] |
getJvmLibraries(java.lang.Object os,
java.lang.Object pa)
Returns an array of shared library representing the JVM's main modules. |
Path |
getJvmLibraryPath(java.io.File jvm)
Returns a path suitable as a dynamic library (LD_LIBRARY_PATH) when running a JNI application with this JRE. |
java.lang.String |
getMaker()
Returns a code for the maker of the JRE. |
java.lang.String |
getName()
Returns the named object's name. |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Returns the properties defined for this runtime. |
java.lang.String |
getProperty(java.lang.String name)
Returns the value of the requested Java runtime property. |
Path |
getSystemClassPath()
Returns the system classpath of the JRE. |
Version |
getVersion()
Returns the JRE's version. |
int |
hashCode()
|
static void |
populate()
|
void |
setMaker(java.lang.String maker)
Sets the JRE's maker code. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.io.File jreHome
protected JavaExecutor java
protected CaseInsensitiveTreeMap<java.lang.String> properties
protected Jdk jdk
protected Path sysClassPath
protected static final ToFile TO_FILE
protected static final ToString TO_STRING
protected static final ToVersion TO_VERSION
protected static final java.lang.String JAVA_EXE_NAME
protected static final java.lang.String JAVAC_EXE_NAME
protected static final java.util.Set<Jre> ALL_JRES
protected static final OS theOS
protected static final boolean bIsWindows
protected static final boolean bIsMacOS
| Constructor Detail |
|---|
protected Jre.Impl()
| Method Detail |
|---|
public static java.util.Set<Jre> getAll()
public static Jre fromMap(java.util.Map<java.lang.String,java.lang.Object> map)
public static void populate()
public int compareTo(Jre o)
compareTo in interface java.lang.Comparable<Jre>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.io.File getDir()
Jre.getHomeDir().
getDir in interface Jrepublic java.io.File getHomeDir()
Jre.getDir().
getHomeDir in interface Jrepublic Path getSystemClassPath()
getSystemClassPath in interface JreJdk.getToolsClassPath()public void setMaker(java.lang.String maker)
setMaker in interface Jremaker - the maker code.for a list of supported codes.public java.lang.String getMaker()
getMaker in interface Jre
public java.io.File[] getJvmLibraries(java.lang.Object os,
java.lang.Object pa)
getJvmLibraries in interface Jreos - the operating system.pa - the processor architecture.
public Path getJvmLibraryPath(java.io.File jvm)
getJvmLibraryPath in interface Jrejvm - the JVM main module for which we want a path.
public JavaExecutor getJava()
getJava in interface Jrepublic Jdk getJdk()
getJdk in interface Jrepublic java.util.Map<java.lang.String,java.lang.String> getProperties()
getProperties in interface Jrepublic java.lang.String getProperty(java.lang.String name)
getProperty in interface Jrename - the property name.
public Version getVersion()
getVersion in interface JregetVersion in interface Versionedpublic java.lang.String getName()
Named
getName in interface Named
|
terp - the Codemesh Modular Template Interpreter v1.3.309 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||