Package net.sourceforge.jnlp
Class JNLPMatcher
- java.lang.Object
-
- net.sourceforge.jnlp.JNLPMatcher
-
public final class JNLPMatcher extends java.lang.ObjectTo compare launching JNLP file with signed APPLICATION.JNLP or APPLICATION_TEMPLATE.jnlp. Used by net.sourceforge.jnlp.runtime.JNLPCLassLoader
-
-
Constructor Summary
Constructors Constructor Description JNLPMatcher(java.io.InputStream appTemplate, java.io.InputStream launchJNLP, boolean isTemplate, ParserSettings p)Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisMatch()Compares both JNLP files
-
-
-
Constructor Detail
-
JNLPMatcher
public JNLPMatcher(java.io.InputStream appTemplate, java.io.InputStream launchJNLP, boolean isTemplate, ParserSettings p) throws JNLPMatcherExceptionPublic constructor- Parameters:
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 parser- Throws:
JNLPMatcherException- if IOException, XMLParseException is thrown during parsing; Or launchJNLP/appTemplate is null
-
-