oracle.jdeveloper.library
Class JDKAdapter
java.lang.Object
   oracle.javatools.data.HashStructureAdapter
oracle.javatools.data.HashStructureAdapter
       oracle.jdeveloper.library.LibraryAdapter
oracle.jdeveloper.library.LibraryAdapter
           oracle.jdeveloper.library.JDKAdapter
oracle.jdeveloper.library.JDKAdapter
- All Implemented Interfaces: 
- Displayable, JDK, JPaths, Library
- public final class JDKAdapter 
- extends LibraryAdapter- implements JDK
Encapsulates the notion of a JDK.
 
 
 
 
 
 
 
| Methods inherited from class oracle.jdeveloper.library.LibraryAdapter | 
| getClassPath, getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getDocPath, getIcon, getID, getLongLabel, getName, getShortLabel, getSourcePath, getToolTipText, isLocked, setClassPath, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setDocPath, setID, setLocked, setName, setSourcePath, toString | 
 
| Methods inherited from class oracle.javatools.data.HashStructureAdapter | 
| addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals | 
 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
 
 
JDKAdapter
public JDKAdapter(HashStructure hash)
equivalent
public boolean equivalent(Library lib)
- Description copied from interface: Library
- Determine whether the given Library is equivalent to this one with respect
 to the values of its public properties other than name.
 
- 
- Specified by:
- equivalentin interface- Library
- Overrides:
- equivalentin class- LibraryAdapter
 
- 
- Parameters:
- lib- the Library against which to test for equivalence.
- Returns:
- true if all public properties are equal.
 
initFromLibrary
public void initFromLibrary(Library lib)
- Description copied from interface: Library
- Initialize all public properties, other than name, from the Library
 provided.
 
- 
- Specified by:
- initFromLibraryin interface- Library
- Overrides:
- initFromLibraryin class- LibraryAdapter
 
- 
 
getJavaExecutable
public java.net.URL getJavaExecutable()
- 
- Specified by:
- getJavaExecutablein interface- JDK
 
- 
 
setJavaExecutable
public void setJavaExecutable(java.net.URL url)
- 
- Specified by:
- setJavaExecutablein interface- JDK
 
- 
 
getInstalledVMs
public java.lang.String[] getInstalledVMs()
- 
- Specified by:
- getInstalledVMsin interface- JDK
 
- 
 
setInstalledVMs
public void setInstalledVMs(java.lang.String[] installedVMs)
- 
- Specified by:
- setInstalledVMsin interface- JDK
 
- 
 
getJavaVersion
public VersionNumber getJavaVersion()
- 
- Specified by:
- getJavaVersionin interface- JDK
 
- 
 
setJavaVersion
public void setJavaVersion(VersionNumber ver)
- 
- Specified by:
- setJavaVersionin interface- JDK
 
- 
 
getSDKBinDir
public java.net.URL getSDKBinDir()
- 
- Specified by:
- getSDKBinDirin interface- JDK
 
- 
 
setSDKBinDir
public void setSDKBinDir(java.net.URL url)
- 
- Specified by:
- setSDKBinDirin interface- JDK
 
- 
 
getSDKBinJavaExecutableNoConsole
public java.lang.String getSDKBinJavaExecutableNoConsole()
- 
- Specified by:
- getSDKBinJavaExecutableNoConsolein interface- JDK
 
- 
 
getJavaExecutableNoConsole
public java.lang.String getJavaExecutableNoConsole()
- 
- Specified by:
- getJavaExecutableNoConsolein interface- JDK
 
- 
 
getSystemProperties
public java.util.Properties getSystemProperties()
- Description copied from interface: JDK
- Get the Java system proprerties as they would be set when running in this
 JDK.  Note that system properties can be redefined through command line
 arguments (such as -D) or through API calls (such asSystem.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 asjava.homeorjava.version, which will typically have the same values whenever
 this JDK is run.
 
- 
- Specified by:
- getSystemPropertiesin interface- JDK
 
- 
- Returns:
- the system properties
 
Copyright © 1997, 2013, Oracle. All rights reserved.