public class PDFPreflightParser extends PDFParser
Constructor and Description |
---|
PDFPreflightParser() |
Modifier and Type | Method and Description |
---|---|
protected static org.apache.pdfbox.cos.COSDictionary |
getLinearizedDictionary(org.apache.pdfbox.pdmodel.PDDocument document)
Copied verbatim from PDFBox
According to the PDF Reference, A linearized PDF contain a dictionary as first object (linearized dictionary) and
only this one in the first section.
|
protected org.apache.pdfbox.pdmodel.PDDocument |
getPDDocument(InputStream inputStream,
String password,
org.apache.pdfbox.io.MemoryUsageSetting memoryUsageSetting,
Metadata metadata,
ParseContext parseContext) |
protected org.apache.pdfbox.pdmodel.PDDocument |
getPDDocument(Path path,
String password,
org.apache.pdfbox.io.MemoryUsageSetting memoryUsageSetting,
Metadata metadata,
ParseContext context) |
checkInitialization, getEnableAutoSpace, getExtractAnnotationText, getPDFParserConfig, getSortByPosition, getSupportedTypes, getSuppressDuplicateOverlappingText, initialize, parse, setDropThreshold, setEnableAutoSpace, setExtractAnnotationText, setInitializableProblemHandler, setMaxMainMemoryBytes, setOcrImageType, setOcrStrategy, setPDFParserConfig, setSortByPosition, setSuppressDuplicateOverlappingText
parse
protected org.apache.pdfbox.pdmodel.PDDocument getPDDocument(InputStream inputStream, String password, org.apache.pdfbox.io.MemoryUsageSetting memoryUsageSetting, Metadata metadata, ParseContext parseContext) throws IOException
getPDDocument
in class PDFParser
IOException
protected org.apache.pdfbox.pdmodel.PDDocument getPDDocument(Path path, String password, org.apache.pdfbox.io.MemoryUsageSetting memoryUsageSetting, Metadata metadata, ParseContext context) throws IOException
getPDDocument
in class PDFParser
IOException
protected static org.apache.pdfbox.cos.COSDictionary getLinearizedDictionary(org.apache.pdfbox.pdmodel.PDDocument document)
document
- the document to validate.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.