Package org.verapdf.processor
Interface ProcessorResult
-
public interface ProcessorResult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FeaturesReportgetFeaturesReport()MetadataFixerResultgetFixerResult()ItemDetailsgetProcessedItem()TaskResultgetResultForTask(TaskType taskType)EnumMap<TaskType,TaskResult>getResults()Collection<TaskResult>getResultSet()EnumSet<TaskType>getTaskTypes()ValidationResultgetValidationResult()booleanhasException()booleanisEncryptedPdf()booleanisOutOfMemory()booleanisPdf()
-
-
-
Method Detail
-
getProcessedItem
ItemDetails getProcessedItem()
- Returns:
- the
ItemDetailsfor the item processed
-
getResults
EnumMap<TaskType,TaskResult> getResults()
- Returns:
- an
EnumMapofTaskTypes andTaskResults for theTaskResults held in thisProcessorResult
-
getResultSet
Collection<TaskResult> getResultSet()
- Returns:
- the
CollectionofTaskResults for thisProcessorResult
-
getResultForTask
TaskResult getResultForTask(TaskType taskType)
- 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.
-
-