public final class ProcessorFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static ProcessorConfig |
configFromXml(InputStream toConvert) |
static void |
configToXml(ProcessorConfig toConvert,
OutputStream stream,
Boolean prettyXml) |
static ItemProcessor |
createProcessor(ProcessorConfig config) |
static StreamingProcessor |
createStreamingProcessor(ProcessorConfig config) |
static ProcessorConfig |
defaultConfig() |
static ProcessorConfig |
fromValues(ValidatorConfig config,
FeatureExtractorConfig featureConfig,
MetadataFixerConfig fixerConfig,
EnumSet<TaskType> tasks) |
static ProcessorResult |
resultFromXml(InputStream toConvert) |
static void |
resultToXml(ProcessorResult toConvert,
OutputStream stream,
Boolean prettyXml) |
static TaskResult |
taskResultfromXml(InputStream toConvert) |
static void |
taskResultToXml(TaskResult toConvert,
OutputStream stream,
Boolean prettyXml) |
public static ProcessorConfig defaultConfig()
public static ProcessorConfig fromValues(ValidatorConfig config, FeatureExtractorConfig featureConfig, MetadataFixerConfig fixerConfig, EnumSet<TaskType> tasks)
public static void configToXml(ProcessorConfig toConvert, OutputStream stream, Boolean prettyXml) throws JAXBException
JAXBExceptionpublic static ProcessorConfig configFromXml(InputStream toConvert) throws JAXBException
JAXBExceptionpublic static final ItemProcessor createProcessor(ProcessorConfig config)
public static final StreamingProcessor createStreamingProcessor(ProcessorConfig config) throws JAXBException
JAXBExceptionpublic static void resultToXml(ProcessorResult toConvert, OutputStream stream, Boolean prettyXml) throws JAXBException
JAXBExceptionpublic static ProcessorResult resultFromXml(InputStream toConvert) throws JAXBException
JAXBExceptionpublic static void taskResultToXml(TaskResult toConvert, OutputStream stream, Boolean prettyXml) throws JAXBException
JAXBExceptionpublic static TaskResult taskResultfromXml(InputStream toConvert) throws JAXBException
JAXBExceptionCopyright © 2015–2016 The veraPDF Consortium. All rights reserved.