Class CssProcessingOptions.Builder
java.lang.Object
de.xima.fc.gui.designer.form.utils.CssProcessingOptions.Builder
- Enclosing class:
CssProcessingOptions
A builder for
CssProcessingOptions.- Since:
- 8.3.6
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a newCssProcessingOptionsinstance with the current configuration.invalidCertificateAllowanceChecker(Predicate<URI> invalidCertificateAllowanceChecker) Sets the predicate to check if invalid certificates are allowed for the given URL.urlPostProcessor(UnaryOperator<URI> urlPostProcessor) Sets the post processor for URLs in the CSS files.
-
Method Details
-
build
Creates a newCssProcessingOptionsinstance 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
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.
-