public final class JNLPMatcher
extends java.lang.Object
| Constructor and Description |
|---|
JNLPMatcher(java.io.InputStream appTemplate,
java.io.InputStream launchJNLP,
boolean isTemplate,
ParserSettings p)
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMatch()
Compares both JNLP files
|
public JNLPMatcher(java.io.InputStream appTemplate,
java.io.InputStream launchJNLP,
boolean isTemplate,
ParserSettings p)
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 templatep - settings of parserJNLPMatcherException - if IOException, XMLParseException is thrown during parsing;
Or launchJNLP/appTemplate is null