Homepage | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
netx.jnlp.JREDesc
public class JREDesc
extends java.lang.Object
Constructor Summary | |
Method Summary | |
long |
|
URL |
|
long |
|
List |
|
Version |
|
boolean |
|
public JREDesc(Version version, URL location, String initialHeapSize, String maximumHeapSize, List resources)
Create a JRE descriptor.
- Parameters:
version
- the platform version or the product version if location is not nulllocation
- the location of a JRE product or nullinitialHeapSize
- inital heap sizeresources
- list of ResourceDesc objects
public long getInitialHeapSize()
Returns the initial heap size in bytes.
public URL getLocation()
Returns the JRE version string.
public long getMaximumHeapSize()
Returns the maximum heap size in bytes.
public List getResourcesDesc()
Returns the resources defined for this JRE.
public Version getVersion()
Returns the JRE version. Use isPlatformVersion to determine if this version corresponds to a platform or product version.
public boolean isPlatformVersion()
Returns true if the JRE version is a Java platform version (java.specification.version property) or false if it is a product version (java.version property).