|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.tool.envcheck.AbstractPlugin
com.sun.jini.tool.envcheck.plugins.CheckJSKPlatform
public class CheckJSKPlatform
Check whether jsk-platform.jar
is in the classpath
of the command-line being analyzed, and if the activation group
if there is one.
Field Summary | |
---|---|
private EnvCheck |
envCheck
the plugin container |
private HashSet |
seen
classpath components already seen, to avoid circular reference loops |
Constructor Summary | |
---|---|
CheckJSKPlatform()
|
Method Summary | |
---|---|
private ArrayList |
checkItem(String item,
String source)
Checks a component on the classpath for existence and accessibility. |
private void |
checkPlatform(String classpath,
String source)
Check classpath for the existence of
jsk-platform.jar . |
private String[] |
parseClasspath(String path,
String source)
Separate each of the components making up the classpath into separate tokens. |
void |
run(EnvCheck envCheck)
Check the command line vm and the group, if there is one, for a classpath containing jsk-platform.jar . |
Methods inherited from class com.sun.jini.tool.envcheck.AbstractPlugin |
---|
getBundle, getString, getString, getString, getString, handleUnexpectedSubtaskReturn, isPluginOption, taskName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private EnvCheck envCheck
private HashSet seen
Constructor Detail |
---|
public CheckJSKPlatform()
Method Detail |
---|
public void run(EnvCheck envCheck)
jsk-platform.jar
.
envCheck
- the plugin containerprivate void checkPlatform(String classpath, String source)
classpath
for the existence of
jsk-platform.jar
.
classpath
- the classpath to checksource
- the source descriptionprivate String[] parseClasspath(String path, String source)
private ArrayList checkItem(String item, String source)
Class-Path
manifest entry, then each
of those items are checked and conditionally added to the list
as well (recursively). If an item
has been seen
previously, and empty list is returned immediately.
item
- the classpath component to verifysource
- the source descriptive text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |