Homepage | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
netx.jnlp.JARDesc
public class JARDesc
extends java.lang.Object
Constructor Summary | |
Method Summary | |
URL |
|
String |
|
Version |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
public JARDesc(URL location, Version version, String part, boolean lazy, boolean main, boolean nativeJar)
Create a JAR descriptor.
- Parameters:
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 class
public URL getLocation()
Returns the URL of the JAR file.
public String getPart()
Returns the part name, or null if not specified in the JNLP file.
public boolean isEager()
Returns true if the JAR file should be downloaded before starting the application.
public boolean isLazy()
Returns true if the JAR file should be downloaded on demand.
public boolean isMain()
Returns true if the JNLP file defined this JAR as containing the main class. If no JARs were defined as the main JAR then the first JAR should be used to locate the main class.
- See Also:
ResourcesDesc.getMainJAR()
public boolean isNative()
Returns true if the JAR file contains native code libraries.