public final class FilterHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.Set<java.lang.String> |
ALLOWED_FILTERS |
Modifier | Constructor and Description |
---|---|
private |
FilterHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
isAuthorizedFilter(PreflightContext context,
java.lang.String filter)
This method checks if the filter is authorized for the PDF file according to the preflight document specification
attribute.
|
static void |
isAuthorizedFilterInPDFA(PreflightContext context,
java.lang.String filter)
This method checks if the filter is authorized for a PDF/A file.
|
public static void isAuthorizedFilter(PreflightContext context, java.lang.String filter)
context
- the preflight contextfilter
- the filter to checkpublic static void isAuthorizedFilterInPDFA(PreflightContext context, java.lang.String filter)
context
- filter
-