@Deprecated public class PDFPreflightParser extends PDFParser
Constructor and Description |
---|
PDFPreflightParser()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected static org.apache.pdfbox.cos.COSDictionary |
getLinearizedDictionary(org.apache.pdfbox.pdmodel.PDDocument document)
Deprecated.
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)
Deprecated.
|
protected org.apache.pdfbox.pdmodel.PDDocument |
getPDDocument(Path path,
String password,
org.apache.pdfbox.io.MemoryUsageSetting memoryUsageSetting,
Metadata metadata,
ParseContext context)
Deprecated.
|
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–2022 The Apache Software Foundation. All rights reserved.