public final class JNLPMatcher
extends java.lang.Object
| Constructor and Description |
|---|
JNLPMatcher(java.io.Reader appTemplate,
java.io.Reader launchJNLP,
boolean isTemplate)
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMatch()
Compares both JNLP files
|
public JNLPMatcher(java.io.Reader appTemplate,
java.io.Reader launchJNLP,
boolean isTemplate)
throws JNLPMatcherException
appTemplate - the reader stream of the signed APPLICATION.jnlp or
APPLICATION_TEMPLATE.jnlplaunchJNLP - the reader stream of the launching JNLP fileisTemplate - a boolean that specifies if appTemplateFile is a templateJNLPMatcherException - if IOException, XMLParseException is thrown during parsing;
Or launchJNLP/appTemplate is null