|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.borland.jbuilder.paths.PathSet | +--com.borland.jbuilder.paths.JDKPathSet
A JDKPathSet is a specialized kind of library designed to represent a release of the Java Development Kit. Each Java project is associated with exactly one JDKPathSet.
Although it inherits the notion of a set of required libraries from PathSet, by convention a JDK does not require any additional libraries.
Fields inherited from class com.borland.jbuilder.paths.PathSet |
collection, EMPTY_ARRAY, hasChanged, lastFullUpdate, lastModified, requiredNames |
Constructor Summary | |
JDKPathSet(java.lang.String name)
Creates a new JDKPathSet with empty paths. |
|
JDKPathSet(Url homePath)
Creates a new JDKPathSet by inspecting a home path and making educated guesses about all the necessary paths. |
Method Summary | |
void |
delete()
removes this JDKPathSet from the collection and tries to delete it from disk |
Url |
getHomePath()
Gets the home path for this JDK. |
void |
setCollection(PathSetCollection collection)
Sets the collection for this JDK |
void |
setHomePath(Url homePath)
Sets the home path, the root directory used for JDK installation. |
Methods inherited from class com.borland.jbuilder.paths.PathSet |
addEntries, addUniquePath, addUniquePath, addUniquePaths, addUniquePathsIfEnabled, buildFullPaths, getClassPath, getCollection, getDocPath, getFullClassPath, getFullDocPath, getFullSourcePath, getLastModified, getName, getNames, getNames, getRequired, getRequiredNames, getResolver, getSourcePath, getUrl, isEmpty, isEnabled, isReadOnly, load, parseLibraries, resolveRequired, save, setClassPath, setDocPath, setName, setRequired, setRequired, setRequired, setSourcePath, setUrl, updateFullPaths, updateLastModified |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDKPathSet(java.lang.String name)
Creates a new JDKPathSet with empty paths.
name
- An initial name for the new instance.public JDKPathSet(Url homePath) throws InvalidUrlException
Creates a new JDKPathSet by inspecting a home path and making educated guesses about all the necessary paths.
homePath
- The root directory of the JDK installation.InvalidUrlException
- If the home path
does not represent a valid JDK.Method Detail |
public Url getHomePath()
Gets the home path for this JDK.
public void setCollection(PathSetCollection collection)
setCollection
in class PathSet
collection
- The PathSetCollection that this is part of.public void setHomePath(Url homePath)
Sets the home path, the root directory used for JDK installation. All of the resources for a JDK are located relative to the home path.
homePath
- A Url refering to the JDK home path.public void delete()
delete
in class PathSet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |