Class CssProcessingOptions.Builder

java.lang.Object
de.xima.fc.gui.designer.form.utils.CssProcessingOptions.Builder
Enclosing class:
CssProcessingOptions

public static final class CssProcessingOptions.Builder extends Object
A builder for CssProcessingOptions.
Since:
8.3.6
  • Method Details

    • build

      public CssProcessingOptions build()
      Creates a new CssProcessingOptions instance with the current configuration. Subsequent changes to the builder will not affect the created options.
      Returns:
      The new options, never null.
    • invalidCertificateAllowanceChecker

      public CssProcessingOptions.Builder invalidCertificateAllowanceChecker(Predicate<URI> invalidCertificateAllowanceChecker)
      Sets the predicate to check if invalid certificates are allowed for the given URL.
      Parameters:
      invalidCertificateAllowanceChecker - The checker.
      Returns:
      This builder, for chaining.
    • urlPostProcessor

      public CssProcessingOptions.Builder urlPostProcessor(UnaryOperator<URI> urlPostProcessor)
      Sets the post processor for URLs in the CSS files. This is applied e.g. to the font face URLs.
      Parameters:
      urlPostProcessor - The post processor.
      Returns:
      This builder, for chaining.