|
terp - the Codemesh Modular Template Interpreter v1.3.304 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Jre
An interface implemented by all Java Runtime Environment types.
| Nested Class Summary | |
|---|---|
static class |
Jre.Impl
An implementation of the Jre interface. |
| Field Summary | |
|---|---|
static java.lang.String |
DIR
|
static java.lang.String |
HOME_DIR
|
static java.lang.String |
MAKER
|
static java.lang.String |
VERSION
|
| Method Summary | |
|---|---|
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.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. |
void |
setMaker(java.lang.String maker)
Sets the JRE's maker code. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface com.codemesh.terp.api.Named |
|---|
getName |
| Field Detail |
|---|
static final java.lang.String DIR
static final java.lang.String HOME_DIR
static final java.lang.String MAKER
static final java.lang.String VERSION
| Method Detail |
|---|
java.io.File getDir()
getHomeDir().
java.io.File getHomeDir()
getDir().
Path getSystemClassPath()
Jdk.getToolsClassPath()Version getVersion()
getVersion in interface VersionedJdk getJdk()
JavaExecutor getJava()
java.util.Map<java.lang.String,java.lang.String> getProperties()
java.lang.String getProperty(java.lang.String name)
name - the property name.
void setMaker(java.lang.String maker)
maker - the maker code.for a list of supported codes.java.lang.String getMaker()
java.io.File[] getJvmLibraries(java.lang.Object os,
java.lang.Object pa)
os - the operating system.pa - the processor architecture.
Path getJvmLibraryPath(java.io.File jvm)
jvm - the JVM main module for which we want a path.
|
terp - the Codemesh Modular Template Interpreter v1.3.304 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||