@DoNotObfuscate
public final class MultiDocumentJavaScriptValidator
extends java.lang.Object
JavaScriptValidator
Modifier | Constructor and Description |
---|---|
protected |
MultiDocumentJavaScriptValidator(MultiDocumentValidator backReference) |
Modifier and Type | Method and Description |
---|---|
MultiDocumentJavaScriptValidator |
containing(java.lang.String expectedJS)
This method looks whether the JavaScript inside each given PDF document contains the
expected String.
|
MultiDocumentJavaScriptValidator |
equalsTo(java.lang.String expectedJS)
This function compares the content given by the parameter with the
document level JavaScript of each given PDF document.
|
MultiDocumentJavaScriptValidator |
equalsToSource(java.io.File expectedJS)
This method reads the file given by the parameter and compares it to
the document level JavaScript of each given PDF document.
|
MultiDocumentJavaScriptValidator |
equalsToSource(java.io.InputStream expectedJS)
This method reads the input stream given by the parameter
and compares it to the document level JavaScript of each given PDF document.
|
MultiDocumentJavaScriptValidator |
equalsToSource(java.io.Reader expectedJS)
This method reads the input given by the parameter
and compares it to the document level JavaScript of each given PDF document.
|
MultiDocumentJavaScriptValidator |
equalsToSource(java.lang.String fileName)
This method reads the file given by the parameter and compares it to
the document level JavaScript of each given PDF document.
|
MultiDocumentJavaScriptValidator |
hasJavaScript()
This method verifies that each of the given PDF document has JavaScript
on document level.
|
protected MultiDocumentJavaScriptValidator(MultiDocumentValidator backReference)
public MultiDocumentJavaScriptValidator hasJavaScript()
@Guarded public MultiDocumentJavaScriptValidator equalsToSource(java.lang.String fileName)
@Guarded public MultiDocumentJavaScriptValidator equalsToSource(java.io.File expectedJS)
@Guarded public MultiDocumentJavaScriptValidator equalsToSource(java.io.Reader expectedJS)
@Guarded public MultiDocumentJavaScriptValidator equalsToSource(java.io.InputStream expectedJS)
@Guarded public MultiDocumentJavaScriptValidator containing(java.lang.String expectedJS)
@Guarded public MultiDocumentJavaScriptValidator equalsTo(java.lang.String expectedJS)
Copyright (C) PDFUnit.com. See here for license.