public final class PolicyChecker extends Object
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
allowedExtensions |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyPolicy(File policy,
InputStream xmlReport,
OutputStream policyReport) |
static void |
applyPolicy(InputStream policy,
InputStream xmlReport,
OutputStream policyReport,
boolean isXsl) |
static void |
insertPolicyReport(File policyReport,
File mrrReport,
OutputStream mergedReport) |
static boolean |
isAllowedExtension(String ext) |
static boolean |
isFilenameAllowedExtension(String filename) |
public static void insertPolicyReport(File policyReport, File mrrReport, OutputStream mergedReport) throws VeraPDFException
VeraPDFExceptionpublic static void applyPolicy(File policy, InputStream xmlReport, OutputStream policyReport) throws VeraPDFException
VeraPDFExceptionpublic static boolean isFilenameAllowedExtension(String filename)
public static boolean isAllowedExtension(String ext)
public static void applyPolicy(InputStream policy, InputStream xmlReport, OutputStream policyReport, boolean isXsl) throws VeraPDFException
VeraPDFExceptionCopyright © 2015–2016 The veraPDF Consortium. All rights reserved.