public final class ProcessorFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessorFactory.BatchSummariser |
public static ProcessorConfig defaultConfig()
public static ProcessorConfig fromValues(ValidatorConfig config, FeatureExtractorConfig featureConfig, PluginsCollectionConfig pluginsCollectionConfig, MetadataFixerConfig fixerConfig, EnumSet<TaskType> tasks)
public static ProcessorConfig fromValues(ValidatorConfig config, FeatureExtractorConfig featureConfig, PluginsCollectionConfig pluginsCollectionConfig, MetadataFixerConfig fixerConfig, EnumSet<TaskType> tasks, String mdFolder)
public static ProcessorConfig fromValues(ValidatorConfig config, FeatureExtractorConfig featureConfig, PluginsCollectionConfig pluginsCollectionConfig, MetadataFixerConfig fixerConfig, EnumSet<TaskType> tasks, ValidationProfile customProfile)
public static ProcessorConfig fromValues(ValidatorConfig config, FeatureExtractorConfig featureConfig, PluginsCollectionConfig pluginsCollectionConfig, MetadataFixerConfig fixerConfig, EnumSet<TaskType> tasks, ValidationProfile customProfile, String mdFolder)
public static void configToXml(ProcessorConfig toConvert, OutputStream stream, boolean format) throws JAXBException
JAXBExceptionpublic static ProcessorConfig configFromXml(InputStream source) throws JAXBException
JAXBExceptionpublic static final ItemProcessor createProcessor(ProcessorConfig config)
public static final BatchProcessor fileBatchProcessor(ProcessorConfig config)
public static final BatchProcessingHandler rawResultHandler() throws VeraPDFException
VeraPDFExceptionpublic static final BatchProcessingHandler rawResultHandler(Writer dest) throws VeraPDFException
VeraPDFExceptionpublic static final BatchProcessingHandler getHandler(FormatOption option, boolean isVerbose, int maxFailedChecksPerRule, boolean logPassed) throws VeraPDFException
VeraPDFExceptionpublic static final BatchProcessingHandler getHandler(FormatOption option, boolean isVerbose, OutputStream reportStream, int maxFailedChecksPerRule, boolean logPassed) throws VeraPDFException
VeraPDFExceptionpublic static void resultToXml(ProcessorResult toConvert, OutputStream stream, boolean prettyXml) throws JAXBException
JAXBExceptionpublic static ProcessorResult resultFromXml(InputStream source) throws JAXBException
JAXBExceptionpublic static void taskResultToXml(TaskResult toConvert, OutputStream dest, boolean prettyXml) throws JAXBException
JAXBExceptionpublic static TaskResult taskResultfromXml(InputStream source) throws JAXBException
JAXBExceptionCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.