Package org.verapdf.processor
Interface ProcessorResult
public interface ProcessorResult
-
Method Summary
Modifier and TypeMethodDescriptiongetResultForTask
(TaskType taskType) boolean
boolean
boolean
boolean
isPdf()
-
Method Details
-
getProcessedItem
ItemDetails getProcessedItem()- Returns:
- the
ItemDetails
for the item processed
-
getResults
EnumMap<TaskType,TaskResult> getResults()- Returns:
- an
EnumMap
ofTaskType
s andTaskResult
s for theTaskResult
s held in thisProcessorResult
-
getTaskTypes
-
getResultSet
Collection<TaskResult> getResultSet()- Returns:
- the
Collection
ofTaskResult
s for thisProcessorResult
-
getResultForTask
- Parameters:
taskType
- theTaskType
to retrieve theTaskResult
for- Returns:
- the
TaskResult
result for taskType
-
getValidationResult
ValidationResult getValidationResult()- Returns:
- the
ValidationResult
orValidationResults.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.
-