public final class JDKAdapter extends LibraryAdapter implements JDK
_hashJDK_EXEC_PROPERTY, JDK_INSTALLED_VMS_PROPERTY, JDK_NAME_PROPERTY, JDK_SDK_BIN_DIR_PROPERTY, JDK_VERSION_NUMBER_PROPERTYLIBRARY_ID_PROPERTY, LIBRARY_NAME_PROPERTYCLASSPATH_PROPERTY, DOCPATH_PROPERTY, ISLOCKED_PROPERTY, SOURCEPATH_PROPERTY| Constructor and Description | 
|---|
JDKAdapter(HashStructure hash)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equivalent(Library lib)
Determine whether the given Library is equivalent to this one with respect to the values of its public properties other than name. 
 | 
java.lang.String[] | 
getInstalledVMs()  | 
java.net.URL | 
getJavaExecutable()  | 
java.lang.String | 
getJavaExecutableNoConsole()  | 
VersionNumber | 
getJavaVersion()  | 
java.net.URL | 
getSDKBinDir()  | 
java.lang.String | 
getSDKBinJavaExecutableNoConsole()  | 
java.util.Properties | 
getSystemProperties()
Get the Java system proprerties as they would be set when running in this JDK. 
 | 
void | 
initFromLibrary(Library lib)
Initialize all public properties, other than name, from the Library provided. 
 | 
void | 
setInstalledVMs(java.lang.String[] installedVMs)  | 
void | 
setJavaExecutable(java.net.URL url)  | 
void | 
setJavaVersion(VersionNumber ver)  | 
void | 
setSDKBinDir(java.net.URL url)  | 
getClassPath, getClassPath, getClassPath, getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getDocPath, getDocPath, getDocPath, getIcon, getID, getLongLabel, getName, getShortLabel, getSourcePath, getSourcePath, getSourcePath, getToolTipText, isLocked, setClassPath, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setDocPath, setID, setLocked, setName, setSourcePath, toStringaddStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEqualsclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getID, getName, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setNamegetClassPath, getDocPath, getSourcePath, isLocked, setClassPath, setDocPath, setLocked, setSourcePathgetIcon, getLongLabel, getShortLabel, getToolTipText, toStringpublic JDKAdapter(HashStructure hash)
public boolean equivalent(Library lib)
Libraryequivalent in interface Libraryequivalent in class LibraryAdapterlib - the Library against which to test for equivalence.public void initFromLibrary(Library lib)
LibraryinitFromLibrary in interface LibraryinitFromLibrary in class LibraryAdapterlib - the Library from which to fetch property values.public java.net.URL getJavaExecutable()
getJavaExecutable in interface JDKpublic void setJavaExecutable(java.net.URL url)
setJavaExecutable in interface JDKpublic java.lang.String[] getInstalledVMs()
getInstalledVMs in interface JDKpublic void setInstalledVMs(java.lang.String[] installedVMs)
setInstalledVMs in interface JDKpublic VersionNumber getJavaVersion()
getJavaVersion in interface JDKpublic void setJavaVersion(VersionNumber ver)
setJavaVersion in interface JDKpublic java.net.URL getSDKBinDir()
getSDKBinDir in interface JDKpublic void setSDKBinDir(java.net.URL url)
setSDKBinDir in interface JDKpublic java.lang.String getSDKBinJavaExecutableNoConsole()
getSDKBinJavaExecutableNoConsole in interface JDKpublic java.lang.String getJavaExecutableNoConsole()
getJavaExecutableNoConsole in interface JDKpublic java.util.Properties getSystemProperties()
JDK-D) or through API calls (such as System.setProperty(java.lang.String, java.lang.String)). The properties returned by this method may or may not match the actual properties during a future execution of the JVM. Callers should typically only use the standard Java properties relating to the JDK implementation itself, such as java.home or java.version, which will typically have the same values whenever this JDK is run.getSystemProperties in interface JDK