Package org.verapdf.processor
Interface ItemProcessor
- All Superinterfaces:
AutoCloseable
,Closeable
,Component
,Processor
Processor encapsulates all validation processes: validation, metadata fixes
and feature extracting.
- Author:
- Sergey Shemyakov
-
Method Summary
Modifier and TypeMethodDescriptionProcess aFile
and return theProcessorResult
process
(ItemDetails fileDetails, InputStream toProcess) Process anInputStream
and return theProcessorResult
Methods inherited from interface org.verapdf.component.Component
getDetails
Methods inherited from interface org.verapdf.processor.Processor
getConfig, getDependencies
-
Method Details
-
process
Process anInputStream
and return theProcessorResult
- Parameters:
fileDetails
- theItemDetails
of the stream to processtoProcess
- anInputStream
to the PDF/A to process- Returns:
- the result of the process as a
ProcessorResult
-
process
Process aFile
and return theProcessorResult
- Parameters:
toProcess
- the PDF/AFile
to process- Returns:
- the result of the process as a
ProcessorResult
- Throws:
VeraPDFException
- if the file cannot be found or opened.
-