|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--netx.jnlp.JARDesc
The JAR element.
| Constructor Summary | |
JARDesc(java.net.URL location,
Version version,
java.lang.String part,
boolean lazy,
boolean main,
boolean nativeJar)
Create a JAR descriptor. |
|
| Method Summary | |
java.net.URL |
getLocation()
Returns the URL of the JAR file. |
java.lang.String |
getPart()
Returns the part name, or null if not specified in the JNLP file. |
Version |
getVersion()
Returns the required version of the JAR file. |
boolean |
isEager()
Returns true if the JAR file should be downloaded before starting the application. |
boolean |
isLazy()
Returns true if the JAR file should be downloaded on demand. |
boolean |
isMain()
Returns true if the JNLP file defined this JAR as containing the main class. |
boolean |
isNative()
Returns true if the JAR file contains native code libraries. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JARDesc(java.net.URL location,
Version version,
java.lang.String part,
boolean lazy,
boolean main,
boolean nativeJar)
location - the location of the JAR fileversion - the required JAR versions, or nullpart - the part name, or nulllazy - whether to load the JAR on demandmain - whether the JAR contains the main classnativeJam - whether the JAR contains native libraries| Method Detail |
public java.net.URL getLocation()
public Version getVersion()
public java.lang.String getPart()
public boolean isNative()
public boolean isEager()
public boolean isLazy()
public boolean isMain()
ResourcesDesc.getMainJAR()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||