public class PDFDocumentImpl extends Object
| Constructor and Description |
|---|
PDFDocumentImpl(InputStream pdfStream)
Create a new PDFDocumentImpl from the passed InputStream
|
PDFDocumentImpl(PDDocument document) |
| Modifier and Type | Method and Description |
|---|---|
InfoDictionary |
getInfoDictionary()
Implemented by Apache PDFBox library.
|
Metadata |
getMetadata()
Implemented by Apache PDFBox library.
|
boolean |
isNeedToBeUpdated()
Implemented by Apache PDFBox library.
|
int |
removeFiltersForAllMetadataObjects() |
MetadataFixerResult |
saveDocumentIncremental(MetadataFixerResultImpl.RepairStatus status,
OutputStream output)
Implemented by Apache PDFBox library.
|
public PDFDocumentImpl(InputStream pdfStream) throws IOException
pdfStream - an InputStream to be parsed as a PDF Document.IOException - when there's a problem reading or parsing the file.public PDFDocumentImpl(PDDocument document)
document - public Metadata getMetadata()
public InfoDictionary getInfoDictionary()
public boolean isNeedToBeUpdated()
public MetadataFixerResult saveDocumentIncremental(MetadataFixerResultImpl.RepairStatus status,
OutputStream output)
public int removeFiltersForAllMetadataObjects()
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.