Uses of Interface
com.itextpdf.pdfcleanup.autosweep.ICleanupStrategy
-
Uses of ICleanupStrategy in com.itextpdf.pdfcleanup
Modifier and TypeMethodDescriptionstatic void
PdfCleaner.autoSweepCleanUp
(com.itextpdf.kernel.pdf.PdfDocument pdfDocument, ICleanupStrategy strategy) Perform cleanup of areas of interest based on a given cleanup strategy.static void
PdfCleaner.autoSweepCleanUp
(com.itextpdf.kernel.pdf.PdfDocument pdfDocument, ICleanupStrategy strategy, CleanUpProperties properties) Perform cleanup of areas of interest based on a given cleanup strategy.static void
PdfCleaner.autoSweepCleanUp
(com.itextpdf.kernel.pdf.PdfDocument pdfDocument, ICleanupStrategy strategy, List<PdfCleanUpLocation> additionalCleanUpLocations) Perform cleanup of areas of interest based on a given cleanup strategy.static void
PdfCleaner.autoSweepCleanUp
(com.itextpdf.kernel.pdf.PdfDocument pdfDocument, ICleanupStrategy strategy, List<PdfCleanUpLocation> additionalCleanUpLocations, CleanUpProperties properties) Perform cleanup of areas of interest based on a given cleanup strategy.static void
PdfCleaner.autoSweepCleanUp
(com.itextpdf.kernel.pdf.PdfPage pdfPage, ICleanupStrategy strategy) Perform cleanup of areas of interest based on a given cleanup strategy.static void
PdfCleaner.autoSweepCleanUp
(com.itextpdf.kernel.pdf.PdfPage pdfPage, ICleanupStrategy strategy, CleanUpProperties properties) Perform cleanup of areas of interest based on a given cleanup strategy.static void
PdfCleaner.autoSweepCleanUp
(com.itextpdf.kernel.pdf.PdfPage pdfPage, ICleanupStrategy strategy, List<PdfCleanUpLocation> additionalCleanUpLocations) Perform cleanup of areas of interest based on a given cleanup strategy.static void
PdfCleaner.autoSweepCleanUp
(com.itextpdf.kernel.pdf.PdfPage pdfPage, ICleanupStrategy strategy, List<PdfCleanUpLocation> additionalCleanUpLocations, CleanUpProperties properties) Perform cleanup of areas of interest based on a given cleanup strategy.static void
PdfCleaner.autoSweepCleanUp
(InputStream inputPdf, OutputStream outputPdf, ICleanupStrategy strategy) Perform cleanup of areas of interest based on a given cleanup strategy.static void
PdfCleaner.autoSweepCleanUp
(InputStream inputPdf, OutputStream outputPdf, ICleanupStrategy strategy, CleanUpProperties properties) Perform cleanup of areas of interest based on a given cleanup strategy.static void
PdfCleaner.autoSweepCleanUp
(InputStream inputPdf, OutputStream outputPdf, ICleanupStrategy strategy, List<PdfCleanUpLocation> additionalCleanUpLocations) Perform cleanup of areas of interest based on a given cleanup strategy.static void
PdfCleaner.autoSweepCleanUp
(InputStream inputPdf, OutputStream outputPdf, ICleanupStrategy strategy, List<PdfCleanUpLocation> additionalCleanUpLocations, CleanUpProperties properties) Perform cleanup of areas of interest based on a given cleanup strategy. -
Uses of ICleanupStrategy in com.itextpdf.pdfcleanup.autosweep
Modifier and TypeClassDescriptionclass
This class is a composite pattern forICleanupStrategy
.class
This class represents a regular expression based cleanup strategyModifier and TypeMethodDescriptionCompositeCleanupStrategy.reset()
Returns acleanup strategy
which represents a resetcomposite cleanup strategy
.ICleanupStrategy.reset()
ICleanupStrategy objects have to be reset at timesPdfAutoSweep
will use the same strategy for all pages, and expects to receive only the rectangles from the last page as output.RegexBasedCleanupStrategy.reset()
Returns anICleanupStrategy
object which is set to this regular pattern and redaction color.Modifier and TypeMethodDescriptionvoid
CompositeCleanupStrategy.add
(ICleanupStrategy strategy) Adds acleanup strategy
to thiscomposite pattern
.ModifierConstructorDescriptionPdfAutoSweepTools
(ICleanupStrategy strategy) Construct a new instance of PdfAutoSweepTools with a given ICleanupStrategy