|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jnlp.JARDesc
public class JARDesc
The JAR element.
Constructor Summary | |
---|---|
JARDesc(java.net.URL location,
Version version,
java.lang.String part,
boolean lazy,
boolean main,
boolean nativeJar,
boolean cacheable)
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 |
isCacheable()
Returns if this jar is cacheable |
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, boolean cacheable)
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 classnativeJar
- whether the JAR contains native librariescacheable
- whether the JAR can be cached or notMethod 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()
public boolean isCacheable()
|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |