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 aFileand return theProcessorResultprocess(ItemDetails fileDetails, InputStream toProcess) Process anInputStreamand return theProcessorResultMethods inherited from interface org.verapdf.component.Component
getDetailsMethods inherited from interface org.verapdf.processor.Processor
getConfig, getDependencies
-
Method Details
-
process
Process anInputStreamand return theProcessorResult- Parameters:
fileDetails- theItemDetailsof the stream to processtoProcess- anInputStreamto the PDF/A to process- Returns:
- the result of the process as a
ProcessorResult
-
process
Process aFileand return theProcessorResult- Parameters:
toProcess- the PDF/AFileto process- Returns:
- the result of the process as a
ProcessorResult - Throws:
VeraPDFException- if the file cannot be found or opened.
-