|
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 | |||||||||
public interface Jdk
The interface implemented by all JDK instances.
| Nested Class Summary | |
|---|---|
static class |
Jdk.Impl
|
| 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 JDK's home directory. |
java.io.File |
getHomeDir()
Returns the JDK's home directory. |
JarExecutor |
getJar()
Returns the jar executor. |
JavaExecutor |
getJava()
Returns the java executor. |
JavacExecutor |
getJavac()
Returns the javac executor. |
JavadocExecutor |
getJavadoc()
Returns the javadoc executor. |
Jre |
getJre()
Returns the JDK's Java Runtime Environment. |
java.lang.String |
getMaker()
Returns a code for the maker of the JRE. |
java.io.File |
getSources()
Returns a file (or directory) containing source files for the JDK. |
Path |
getToolsClassPath()
Returns a path containing JDK-specific classpath roots. |
Version |
getVersion()
Returns the JDK'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().
java.io.File getSources()
Path getToolsClassPath()
Please note that on MacOS X all the tools are included in the JRE's classpath, so the returned path is empty.
Jre.getSystemClassPath()Version getVersion()
getVersion in interface VersionedJre getJre()
JavaExecutor getJava()
JavacExecutor getJavac()
JavadocExecutor getJavadoc()
JarExecutor getJar()
void setMaker(java.lang.String maker)
maker - the maker code.for a list of supported codes.java.lang.String getMaker()
|
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 | |||||||||