Package | Description |
---|---|
com.pdfunit |
This is the main package for testing PDF documents.
|
com.pdfunit.validators |
Classes implementing validations on specific topics of PDF.
|
Modifier and Type | Method and Description |
---|---|
static MultiDocumentValidator |
AssertThat.eachDocument(java.io.File[] files)
Loading an array of PDF documents.
|
static MultiDocumentValidator |
AssertThat.eachDocument(java.io.File[] files,
java.lang.String ownerPassword)
Loading an array of PDF documents, each having the same password.
|
static MultiDocumentValidator |
AssertThat.eachDocument(java.io.InputStream[] streams)
Loading an array of PDF documents.
|
static MultiDocumentValidator |
AssertThat.eachDocument(java.io.InputStream[] streams,
java.lang.String ownerPassword)
Loading an array of PDF documents, each having the same password.
|
static MultiDocumentValidator |
AssertThat.eachDocument(java.lang.String[] fileNames)
Loading an array of PDF documents.
|
static MultiDocumentValidator |
AssertThat.eachDocument(java.lang.String[] fileNames,
java.lang.String ownerPassword)
Loading an array of PDF documents, each having the same password.
|
static MultiDocumentValidator |
AssertThat.eachDocument(java.net.URL[] urls)
Loading an array of PDF documents.
|
static MultiDocumentValidator |
AssertThat.eachDocument(java.net.URL[] urls,
java.lang.String ownerPassword)
Loading an array of PDF documents, each having the same password.
|
Modifier and Type | Field and Description |
---|---|
protected MultiDocumentValidator |
MultiDocumentPropertyValidator.backReference |
Modifier and Type | Method and Description |
---|---|
MultiDocumentValidator |
MultiDocumentPropertyValidator.containing(java.lang.String expectedValue)
This method does for each PDF document what the name suggests.
|
MultiDocumentValidator |
MultiDocumentValidator.containsImage(java.io.File imageFile,
PagesToUse pagesToUse)
Deprecated.
|
MultiDocumentValidator |
MultiDocumentValidator.containsImage(java.io.InputStream imageStream,
PagesToUse pagesToUse)
Deprecated.
|
MultiDocumentValidator |
MultiDocumentValidator.containsImage(java.lang.String imageFileName,
PagesToUse pagesToUse)
Deprecated.
|
MultiDocumentValidator |
MultiDocumentValidator.containsOneImageOf(java.awt.image.BufferedImage[] allPossibleImages) |
MultiDocumentValidator |
MultiDocumentValidator.containsOneImageOf(java.awt.image.BufferedImage[] allPossibleImages,
PagesToUse pagesToUse)
Deprecated.
|
MultiDocumentValidator |
MultiDocumentPropertyValidator.endingWith(java.lang.String expectedValue)
This method does for each PDF document what the name suggests.
|
MultiDocumentValidator |
MultiDocumentPropertyValidator.equalsTo(java.lang.String expectedValue)
This method does for each PDF document what the name suggests.
|
MultiDocumentValidator |
MultiDocumentEncryptionValidator.hasEncryptionLength(int expectedEncryptionLength)
Verifying that each PDF document is encrypted with the
expected key length.
|
MultiDocumentValidator |
MultiDocumentValidator.hasEncryptionLength(int expectedEncryptionLength)
This method verifies that each document of the given set of
PDF documents is encrypted with the expected key length.
|
MultiDocumentValidator |
MultiDocumentValidator.hasFormat(DocumentFormat expectedFormat,
PagesToUse pagesToUse)
Deprecated.
|
MultiDocumentValidator |
MultiDocumentLocaleValidator.hasLanguageInfo(java.util.Locale expectedLocale)
This method does what the name suggests.
|
MultiDocumentValidator |
MultiDocumentValidator.hasLanguageInfo(java.util.Locale expectedLocale)
This method verifies that each document of the given set of
PDF documents has the expected locale.
|
MultiDocumentValidator |
MultiDocumentLocaleValidator.hasLanguageInfo(java.lang.String expectedLocale)
This method checks the expected language and country information against
the data of each PDF document.
|
MultiDocumentValidator |
MultiDocumentValidator.hasLanguageInfo(java.lang.String expectedLocale)
This method verifies that each document of the given set of
PDF documents has the expected locale.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNoAuthor()
This method verifies that each document of the given set of
PDF documents does not have an author information.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNoImage()
This method checks, that each document of the given set of PDF documents
do not have text on the given pages.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNoKeywords()
This method verifies that each document of the given set of
PDF documents does not have keywords.
|
MultiDocumentValidator |
MultiDocumentLocaleValidator.hasNoLanguageInfo()
This method does what the name suggests.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNoLanguageInfo()
This method verifies that each document of the given set of
PDF documents does not contain a locale.
|
MultiDocumentValidator |
MultiDocumentPropertyValidator.hasNoProperty(java.lang.String key)
This method does for each PDF document what the name suggests.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNoProperty(java.lang.String key)
This method verifies that each document of the given set of
PDF documents does not have a property with the given key.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNoSubject()
This method verifies that each document of the given set of
PDF documents does not have a subject.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNoText()
This method checks, that each document of the given set of PDF documents
do not have text on the given pages.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNoTitle()
This method verifies that each document of the given set of PDF documents does not have a title.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNoXFAData()
Validating that each document of the given set of PDF documents does not have XFA data.
|
MultiDocumentValidator |
MultiDocumentXFAValidator.hasNoXFAData()
This method processes the given XPath expression against the XFA data
of each PDF document.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNoXMPData()
Validating that each document of the given set of PDF documents does not have XMP data.
|
MultiDocumentValidator |
MultiDocumentXMPValidator.hasNoXMPData()
This method processes the given XPath expression against the XMP data
of each PDF document.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNumberOfBookmarks(int expectedNumber)
This method checks that each given PDF documents has the expected number
of bookmarks.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNumberOfDifferentImages(int expectedNumber) |
MultiDocumentValidator |
MultiDocumentValidator.hasNumberOfFields(int expectedNumber)
This method verifies that each given PDF document has the expected number
of fields.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNumberOfFonts(int expectedNumber,
IdentifiedBy filter)
This method checks the number of fonts in each given PDF document.
|
protected MultiDocumentValidator |
MultiDocumentSignatureValidator.hasNumberOfSignatures(int expectedNumber)
This method verifies that each given PDF document has the expected number of signatures.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNumberOfSignatures(int expectedNumber)
This method verifies that each document of the given set of
PDF documents has the expected number of signatures.
|
MultiDocumentValidator |
MultiDocumentValidator.hasNumberOfVisibleImages(int expectedNumber) |
MultiDocumentValidator |
FolderValidator.inFolder(java.io.File folderAsFile) |
MultiDocumentValidator |
MultiDocumentCertificationLevelValidator.isCertified() |
MultiDocumentValidator |
MultiDocumentValidator.isCertified()
This method verifies that each document of the given set of
PDF documents is certified.
|
MultiDocumentValidator |
MultiDocumentCertificationLevelValidator.isCertifiedFor(CertificationLevel expectedCertificationLevel) |
MultiDocumentValidator |
MultiDocumentValidator.isCertifiedFor(CertificationLevel expectedCertificationLevel)
This method verifies that each document of the given set of
PDF documents is certified for the expected level.
|
MultiDocumentValidator |
MultiDocumentValidator.isLinearizedForFastWebView() |
MultiDocumentValidator |
MultiDocumentSignatureValidator.isSigned()
This method checks that each given PDF document is signed.
|
MultiDocumentValidator |
MultiDocumentValidator.isSigned()
This method verifies that each document of the given set of
PDF documents is signed.
|
MultiDocumentValidator |
MultiDocumentSignatureValidator.isSignedBy(java.lang.String expectedSignatory) |
MultiDocumentValidator |
MultiDocumentValidator.isSignedBy(java.lang.String expectedSignatory) |
MultiDocumentValidator |
MultiDocumentPropertyValidator.matchingRegex(java.lang.String regex)
This method does for each PDF document what the name suggests.
|
MultiDocumentValidator |
MultiDocumentPropertyValidator.notContaining(java.lang.String expectedValue)
This method does for each PDF document what the name suggests.
|
MultiDocumentValidator |
MultiDocumentPropertyValidator.notMatchingRegex(java.lang.String regex)
This method does for each PDF document what the name suggests.
|
MultiDocumentValidator |
MultiDocumentValidator.passedFilter(FilenameFilter filenameFilter)
This methods excludes all files from the following test, whose names matches
the regular expression inside the given filename filter.
|
MultiDocumentValidator |
MultiDocumentValidator.restrictedTo(PageRegion region)
This method sets a region filter for the following validation process.
|
MultiDocumentValidator |
MultiDocumentValidator.restrictedTo(PagesToUse pagesToUse)
This method sets a page filter for the following validation process.
|
MultiDocumentValidator |
MultiDocumentPropertyValidator.startingWith(java.lang.String expectedValue)
This method does for each PDF document what the name suggests.
|
Copyright (C) PDFUnit.com. See here for license.