Package com.itextpdf.kernel.pdf
Class PdfRevisionsReader
- java.lang.Object
-
- com.itextpdf.kernel.pdf.PdfRevisionsReader
-
public class PdfRevisionsReader extends java.lang.ObjectClass to retrieve important information about PDF document revisions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classPdfRevisionsReader.RevisionsXrefProcessor
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<DocumentRevision>documentRevisionsprivate IMetaInfometaInfoprivate PdfReaderreader
-
Constructor Summary
Constructors Constructor Description PdfRevisionsReader(PdfReader reader)CreatesPdfRevisionsReaderclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<DocumentRevision>getAllRevisions()Gets information about PDF document revisions.voidsetEventCountingMetaInfo(IMetaInfo metaInfo)Sets theIMetaInfothat will be used duringPdfDocumentcreation.
-
-
-
Field Detail
-
reader
private final PdfReader reader
-
documentRevisions
private java.util.List<DocumentRevision> documentRevisions
-
metaInfo
private IMetaInfo metaInfo
-
-
Constructor Detail
-
PdfRevisionsReader
public PdfRevisionsReader(PdfReader reader)
CreatesPdfRevisionsReaderclass.- Parameters:
reader-PdfReaderinstance from which revisions to be collected
-
-
Method Detail
-
setEventCountingMetaInfo
public void setEventCountingMetaInfo(IMetaInfo metaInfo)
Sets theIMetaInfothat will be used duringPdfDocumentcreation.- Parameters:
metaInfo- meta info to set
-
getAllRevisions
public java.util.List<DocumentRevision> getAllRevisions() throws java.io.IOException
Gets information about PDF document revisions.- Returns:
ListofDocumentRevisionobjects- Throws:
java.io.IOException- in case of input-output related exceptions during PDF document reading
-
-