Package org.verapdf.processor
Interface ProcessorResult
public interface ProcessorResult
-
Method Summary
Modifier and TypeMethodDescriptiongetResultForTask(TaskType taskType) booleanbooleanbooleanbooleanisPdf()
-
Method Details
-
getProcessedItem
ItemDetails getProcessedItem()- Returns:
- the
ItemDetailsfor the item processed
-
getResults
EnumMap<TaskType,TaskResult> getResults()- Returns:
- an
EnumMapofTaskTypes andTaskResults for theTaskResults held in thisProcessorResult
-
getTaskTypes
-
getResultSet
Collection<TaskResult> getResultSet()- Returns:
- the
CollectionofTaskResults for thisProcessorResult
-
getResultForTask
- Parameters:
taskType- theTaskTypeto retrieve theTaskResultfor- Returns:
- the
TaskResultresult for taskType
-
getValidationResult
ValidationResult getValidationResult()- Returns:
- the
ValidationResultorValidationResults.defaultResult()if validation not performed.
-
getFeaturesReport
FeaturesReport getFeaturesReport()- Returns:
- the
FeaturesReport.
-
getFixerResult
MetadataFixerResult getFixerResult()- Returns:
- the
MetadataFixerResult
-
isPdf
boolean isPdf()- Returns:
- true if the parsed file was a valid PDF, false if the PDF parser failed to parse the document and couldn't continue to process it.
-
isEncryptedPdf
boolean isEncryptedPdf()- Returns:
- true if the parser detected that the PDF was encrypted and could not continue to process it.
-
isOutOfMemory
boolean isOutOfMemory()- Returns:
- true if the parser detected OutOfMemoryException and could not continue to process PDF.
-
hasException
boolean hasException()- Returns:
- true if processed PDF has VeraPDFException.
-