Package | Description |
---|---|
com.pdfunit.validators |
Classes implementing validations on specific topics of PDF.
|
Modifier and Type | Method and Description |
---|---|
ImageValidator |
ImageValidator.flipped(FlipDirection flipDirection) |
ImageValidator |
DocumentValidator.hasImage()
This method checks that images exist on every effected pages.
|
ImageValidator |
ImageValidator.hasImage()
This method checks that images exist inside the given region on each of
the specified pages.
|
ImageValidator |
PageValidator.hasImage()
This method checks that images exist on every effected pages.
|
ImageValidator |
DocumentValidator.hasImage(PagesToUse pagesToUse)
Deprecated.
|
ImageValidator |
DocumentValidator.hasImage(PagesToUse pagesToUse,
PageRegion region)
Deprecated.
|
ImageValidator |
ImageValidator.hasNoImage() |
ImageValidator |
ImageValidator.hasNumberOfDifferentImages(int expectedNumber)
This method verifies the different images in the specified region on the specified pages.
|
ImageValidator |
ImageValidator.hasNumberOfVisibleImages(int expectedNumber)
This method verifies that the specified region and pages have the expected number of images.
|
ImageValidator |
ImageValidator.matching(java.awt.image.BufferedImage expectedImage)
This method verifies that one of the extracted images is equal to
the expected image which is given by the parameter.
|
ImageValidator |
ImageValidator.matching(java.io.File expectedImageFile)
This method verifies that one of the extracted images is equal to
the expected image which is given by the parameter.
|
ImageValidator |
ImageValidator.matching(java.io.InputStream expectedImageStream)
This method verifies that one of the extracted images is equal to
the expected image which is given by the parameter.
|
ImageValidator |
ImageValidator.matching(java.lang.String expectedImageFileName)
This method verifies that one of the extracted images is equal to
the expected image which is given by the parameter.
|
ImageValidator |
ImageValidator.matching(java.net.URL expectedImageUrl)
This method verifies that one of the extracted images is equal to
the expected image which is given by the parameter.
|
ImageValidator |
ImageValidator.matchingOneOf(java.awt.image.BufferedImage[] allExpectedImages)
This method verifies that one of the given images is present on the specified pages.
|
ImageValidator |
ImageValidator.rotatedBy(Rotation rotation) |
ImageValidator |
ImageValidator.withHeightInPixel(int expectedHeightInPixel)
This method verifies that one of the given images has the expected height.
|
ImageValidator |
ImageValidator.withWidthInPixel(int expectedWidthInPixel)
This method verifies that one of the given images has the expected width.
|
Constructor and Description |
---|
BarcodeValidator(java.util.Collection<com.pdfunit.internal.spi.IImage> extractedImagesAllPages,
ImageRegion imageRegion,
ImageValidator backreference) |
BarcodeValidator(java.util.Collection<com.pdfunit.internal.spi.IImage> extractedImagesAllPages,
ImageValidator backreference) |
OCRValidator(java.util.Collection<com.pdfunit.internal.spi.IImage> extractedImagesAllPages,
Rotation rotation,
FlipDirection flipDirection,
ImageRegion imageRegion,
ImageValidator backreference) |
OCRValidator(java.util.Collection<com.pdfunit.internal.spi.IImage> extractedImagesAllPages,
Rotation rotation,
FlipDirection flipDirection,
ImageValidator backreference) |
Copyright (C) PDFUnit.com. See here for license.