Package | Description |
---|---|
net.sourceforge.jnlp |
This package contains the classes that represent the parts of a Java Network
Launching Protocol (JNLP) file as objects, and a way to launch a JNLP file
as an application, applet, or installer.
|
net.sourceforge.jnlp.runtime |
This package contains the classes that manage the secure runtime environment
for JNLP apps.
|
Modifier and Type | Class and Description |
---|---|
class |
MissingInformationException
Thrown when the required information tag is not found
under the current JVM's locale or as a generalized element.
|
class |
MissingTitleException
Thrown when a title that is required from the information tag is not found
under the current JVM's locale or as a generalized element.
|
class |
MissingVendorException
Thrown when a vendor that is required from the information tag is not found
under the current JVM's locale or as a generalized element.
|
class |
RequiredElementException
Thrown when a field that is required from the information tag is not found
under the current JVM's locale or as a generalized element.
|
Modifier and Type | Method and Description |
---|---|
JNLPFile |
JNLPCreator.create(java.net.URL location,
Version version,
ParserSettings settings,
UpdatePolicy policy,
java.net.URL forceCodebase) |
java.util.List<InformationDesc> |
Parser.getInfo(Node parent) |
LaunchDesc |
Parser.getLauncher(Node parent) |
java.util.List<ResourcesDesc> |
Parser.getResources(Node parent,
boolean j2se) |
Node |
MalformedXMLParser.getRootNode(java.io.InputStream input)
Parses the data from an
InputStream to create a XML tree. |
static Node |
Parser.getRootNode(java.io.InputStream input,
ParserSettings settings) |
SecurityDesc |
Parser.getSecurity(Node parent) |
java.net.URL |
Parser.getURL(Node node,
java.lang.String name,
java.net.URL base) |
static java.net.URL |
Parser.getURL(java.lang.String href,
java.lang.String nodeName,
java.net.URL base,
boolean strict) |
void |
ExtensionDesc.resolve()
Resolves the extension by creating a JNLPFile from the file
specified by the extension's location property.
|
static java.io.InputStream |
MalformedXMLParser.xmlizeInputStream(java.io.InputStream original)
Reads malformed XML from the InputStream original and returns a new
InputStream which can be used to read a well-formed version of the input
|
Constructor and Description |
---|
AssociationDesc(java.lang.String mimeType,
java.lang.String[] extensions) |
JNLPFile(java.io.InputStream input,
ParserSettings settings)
Create a JNLPFile from an input stream.
|
JNLPFile(java.io.InputStream input,
java.net.URL codebase,
ParserSettings settings)
Create a JNLPFile from an input stream.
|
JNLPFile(java.net.URL location)
Create a JNLPFile from a URL.
|
JNLPFile(java.net.URL location,
ParserSettings settings)
Create a JNLPFile from a URL checking for updates using the
default policy.
|
JNLPFile(java.net.URL location,
java.lang.String uniqueKey,
Version version,
ParserSettings settings,
UpdatePolicy policy)
Create a JNLPFile from a URL, parent URLm a version and checking for
updates using the specified policy.
|
JNLPFile(java.net.URL location,
Version version,
ParserSettings settings)
Create a JNLPFile from a URL and a Version checking for updates using
the default policy.
|
JNLPFile(java.net.URL location,
Version version,
ParserSettings settings,
UpdatePolicy policy)
Create a JNLPFile from a URL and a version, checking for updates
using the specified policy.
|
JNLPFile(java.net.URL location,
Version version,
ParserSettings settings,
UpdatePolicy policy,
java.net.URL forceCodebase)
Create a JNLPFile from a URL and a version, checking for updates
using the specified policy.
|
JREDesc(Version.JreVersion version,
java.net.URL location,
java.lang.String vmArgs,
java.lang.String initialHeapSize,
java.lang.String maximumHeapSize,
java.util.List<ResourcesDesc> resources)
Create a JRE descriptor.
|
Parser(JNLPFile file,
java.net.URL base,
Node root,
ParserSettings settings)
Create a parser for the JNLP file.
|
Parser(JNLPFile file,
java.net.URL base,
Node root,
ParserSettings settings,
java.net.URL codebase)
Create a parser for the JNLP file.
|
Modifier and Type | Method and Description |
---|---|
static JNLPClassLoader |
JNLPClassLoader.getInstance(java.net.URL location,
java.lang.String uniqueKey,
Version version,
ParserSettings settings,
UpdatePolicy policy,
java.lang.String mainName,
boolean enableCodeBase)
Returns a JNLP classloader for the JNLP file at the specified location.
|