|
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.Jdk.Impl
public static class Jdk.Impl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.codemesh.terp.data.Jdk |
|---|
Jdk.Impl |
| Field Summary | |
|---|---|
protected static java.util.Set<Jdk> |
ALL_JDKS
|
protected static boolean |
bIsMacOS
|
protected static boolean |
bIsWindows
|
protected static java.lang.String |
JAR_EXE_NAME
|
protected static java.lang.String |
JAVAC_EXE_NAME
|
protected static java.lang.String |
JAVADOC_EXE_NAME
|
protected java.io.File |
theHomeDir
|
protected JarExecutor |
theJar
|
protected JavacExecutor |
theJavac
|
protected JavadocExecutor |
theJavadoc
|
protected Jre |
theJre
|
protected static OS |
theOS
|
protected java.io.File |
theSources
|
protected Path |
theToolsPath
|
protected static ToFile |
TO_FILE
|
protected static ToString |
TO_STRING
|
protected static ToVersion |
TO_VERSION
|
| Fields inherited from interface com.codemesh.terp.data.Jdk |
|---|
DIR, HOME_DIR, MAKER, VERSION |
| Constructor Summary | |
|---|---|
protected |
Jdk.Impl()
|
| Method Summary | |
|---|---|
int |
compareTo(Jdk o)
|
boolean |
equals(java.lang.Object o)
|
static Jdk |
fromMap(java.util.Map<java.lang.String,java.lang.Object> map)
|
static java.util.Set<Jdk> |
getAll()
|
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.lang.String |
getName()
Returns the named object's name. |
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. |
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 theHomeDir
protected java.io.File theSources
protected Jre theJre
protected JavacExecutor theJavac
protected JavadocExecutor theJavadoc
protected JarExecutor theJar
protected Path theToolsPath
protected static final ToFile TO_FILE
protected static final ToString TO_STRING
protected static final ToVersion TO_VERSION
protected static final java.lang.String JAVAC_EXE_NAME
protected static final java.lang.String JAVADOC_EXE_NAME
protected static final java.lang.String JAR_EXE_NAME
protected static final java.util.Set<Jdk> ALL_JDKS
protected static final OS theOS
protected static final boolean bIsWindows
protected static final boolean bIsMacOS
| Constructor Detail |
|---|
protected Jdk.Impl()
| Method Detail |
|---|
public static java.util.Set<Jdk> getAll()
public static Jdk fromMap(java.util.Map<java.lang.String,java.lang.Object> map)
public static void populate()
public int compareTo(Jdk o)
compareTo in interface java.lang.Comparable<Jdk>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()
Jdk.getHomeDir().
getDir in interface Jdkpublic java.io.File getHomeDir()
Jdk.getDir().
getHomeDir in interface Jdkpublic java.io.File getSources()
getSources in interface Jdkpublic Path getToolsClassPath()
Please note that on MacOS X all the tools are included in the JRE's classpath, so the returned path is empty.
getToolsClassPath in interface JdkJre.getSystemClassPath()public JavaExecutor getJava()
getJava in interface Jdkpublic JavacExecutor getJavac()
getJavac in interface Jdkpublic JavadocExecutor getJavadoc()
getJavadoc in interface Jdkpublic JarExecutor getJar()
getJar in interface Jdkpublic Jre getJre()
getJre in interface Jdkpublic java.lang.String getName()
getName in interface Namedpublic Version getVersion()
getVersion in interface JdkgetVersion in interface Versionedpublic void setMaker(java.lang.String maker)
setMaker in interface Jdkmaker - the maker code.for a list of supported codes.public java.lang.String getMaker()
getMaker in interface Jdk
|
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 | |||||||||