public class JARDesc
extends java.lang.Object
| Constructor and Description |
|---|
JARDesc(java.net.URL location,
Version version,
java.lang.String part,
boolean lazy,
boolean main,
boolean nativeJar,
boolean cacheable)
Create a JAR descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
java.net.URL |
getLocation() |
java.lang.String |
getPart() |
Version |
getVersion() |
boolean |
isCacheable()
Returns if this jar is cacheable
|
boolean |
isEager() |
boolean |
isLazy() |
boolean |
isMain() |
boolean |
isNative() |
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 notpublic 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(net.sourceforge.jnlp.JARDesc[])public boolean isCacheable()