## Uses of Class
com.pdfunit.validators.JavaScriptValidator

- Packages that use JavaScriptValidator
  Package | Description
  --- | ---
  com.pdfunit.validators | Classes implementing validations on specific topics of PDF.

- - ### Uses of JavaScriptValidator in com.pdfunit.validators

    Methods in com.pdfunit.validators that return JavaScriptValidator
    Modifier and Type | Method and Description
    --- | ---
    `JavaScriptValidator` | JavaScriptValidator.`containing(java.lang.String expectedJS)` This method looks whether the JavaScript inside the current PDF-document contains the string, given by the parameter.
    `JavaScriptValidator` | JavaScriptValidator.`equalsTo(java.lang.String expectedContent)` This function compares the content given by the parameter with the JavaScript inside the current PDF-document.
    `JavaScriptValidator` | JavaScriptValidator.`equalsToSource(java.io.InputStream expectedJS)` This method reads the input given by the parameter and compares the content to the JavaScript inside the current PDF document.
    `JavaScriptValidator` | JavaScriptValidator.`equalsToSource(java.io.Reader expectedJS)` This method reads the input given by the parameter and compares the content to the JavaScript inside the current PDF document.
    `JavaScriptValidator` | JavaScriptValidator.`equalsToSource(java.lang.String fileName)` This method reads the file given by the parameter and compares the content to the JavaScript inside the current PDF document.
    `JavaScriptValidator` | JavaScriptValidator.`equalsToSourcen(java.io.File expectedJS)` This method reads the file given by the parameter and compares the content to the JavaScript inside the current PDF document.
    `JavaScriptValidator` | DocumentValidator.`hasJavaScript()` This method verifies that the current PDF document has document level JavaScript.
    `JavaScriptValidator` | JavaScriptValidator.`hasJavaScript()` This method does what the name suggests.

Copyright (C) PDFUnit.com. See here for license.