Class FontValidationProcess

java.lang.Object
org.apache.pdfbox.preflight.process.AbstractProcess
org.apache.pdfbox.preflight.process.reflect.FontValidationProcess
All Implemented Interfaces:
ValidationProcess

public class FontValidationProcess extends AbstractProcess
  • Constructor Details

    • FontValidationProcess

      public FontValidationProcess()
  • Method Details

    • validate

      public void validate(PreflightContext context) throws ValidationException
      Throws:
      ValidationException
    • getFontValidator

      protected FontValidator<? extends FontContainer<? extends org.apache.pdfbox.pdmodel.font.PDFont>> getFontValidator(PreflightContext context, org.apache.pdfbox.pdmodel.font.PDFont font)
      Create the right "Validator" object for the given font type
      Parameters:
      context - the preflight context.
      font - the font object.
      Returns:
      the font validator instance for the font type.