public class PDFParser extends COSParser
document, flag, integers, keyOfCurrentObject, LINEARIZATION_DICTIONARY_LOOKUP_SIZE, objectssource| Constructor and Description |
|---|
PDFParser(COSDocument document,
InputStream fileStream) |
PDFParser(COSDocument document,
String filename) |
PDFParser(InputStream fileStream) |
PDFParser(String filename) |
| Modifier and Type | Method and Description |
|---|---|
COSObject |
getEncryption() |
COSHeader |
getHeader() |
Long |
getLastTrailerOffset() |
COSObject |
getObject(long offset) |
SeekableInputStream |
getPDFSource() |
void |
getXRefInfo(List<COSXRefInfo> infos) |
boolean |
isEncrypted() |
boolean |
isLinearized() |
getArray, getDictionary, getDocument, getName, getStream, nextObjectappendToToken, clearToken, closeInputStream, findKeyword, findKeyword, getLine, getLine, getLineBytes, getRandomAccess, getRawBytes, getToken, initializeToken, isCR, isDigit, isDigit, isEndOfComment, isFF, isHexDigit, isLF, isNextByteEOL, nextToken, readName, readNumber, readUntilDelimiter, skipExpectedCharacter, skipSingleEol, skipSpaces, skipSpaces, skipStreamSpacespublic PDFParser(String filename) throws IOException
IOExceptionpublic PDFParser(InputStream fileStream) throws IOException
IOExceptionpublic PDFParser(COSDocument document, String filename) throws IOException
IOExceptionpublic PDFParser(COSDocument document, InputStream fileStream) throws IOException
IOExceptionpublic COSHeader getHeader() throws IOException
IOExceptionpublic SeekableInputStream getPDFSource()
public boolean isLinearized()
public void getXRefInfo(List<COSXRefInfo> infos) throws IOException
IOExceptionpublic COSObject getObject(long offset) throws IOException
IOExceptionpublic boolean isEncrypted()
public COSObject getEncryption()
public Long getLastTrailerOffset()
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.