Package com.itextpdf.pdfoptimizer
Class PdfOptimizerFactory
java.lang.Object
com.itextpdf.pdfoptimizer.PdfOptimizerFactory
Class is responsible for creating new instances of
PdfOptimizer
in accordance with predefined PdfOptimizerProfile
.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PdfOptimizer
Creates a new instance of PdfOptimizer with predefinedPdfOptimizerProfile
.
-
Method Details
-
getPdfOptimizerByProfile
Creates a new instance of PdfOptimizer with predefinedPdfOptimizerProfile
.- Parameters:
-
profile
- is a profile for a new instance of PdfOptimizer - Returns:
- new instance of PdfOptimizer according to profile
- See Also:
-