Class PdfOptimizerFactory

java.lang.Object
com.itextpdf.pdfoptimizer.PdfOptimizerFactory

public final class PdfOptimizerFactory extends Object
Class is responsible for creating new instances of PdfOptimizer in accordance with predefined PdfOptimizerProfile.
  • Method Details

    • getPdfOptimizerByProfile

      public static PdfOptimizer getPdfOptimizerByProfile (PdfOptimizerProfile profile)
      Creates a new instance of PdfOptimizer with predefined PdfOptimizerProfile.
      Parameters:
      profile - is a profile for a new instance of PdfOptimizer
      Returns:
      new instance of PdfOptimizer according to profile
      See Also: