public class SimplifiedPDFDocument extends org.apache.pdfbox.cos.COSDocument implements Closeable
Constructor and Description |
---|
SimplifiedPDFDocument(org.apache.pdfbox.cos.COSDocument doc)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getPageCount() |
accept, addXRefTable, createCOSStream, createCOSStream, getDocumentID, getDocumentState, getEncryptionDictionary, getHighestXRefObjectNumber, getLinearizedDictionary, getObjectFromPool, getObjectsByType, getObjectsByType, getStartXref, getTrailer, getVersion, getXrefTable, hasHybridXRef, isClosed, isDecrypted, isEncrypted, isXRefStream, setDecrypted, setDocumentID, setEncryptionDictionary, setHasHybridXRef, setHighestXRefObjectNumber, setIsXRefStream, setStartXref, setTrailer, setVersion
public SimplifiedPDFDocument(org.apache.pdfbox.cos.COSDocument doc) throws IOException
doc
- IOException
public int getPageCount()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.pdfbox.cos.COSDocument
IOException
Copyright © 2025. All rights reserved.