Package org.verapdf.parser
Class XRefReader
- java.lang.Object
-
- org.verapdf.parser.XRefReader
-
-
Constructor Summary
Constructors Constructor Description XRefReader()XRefReader(List<COSXRefInfo> infos)XRefReader(COSXRefInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancontainsKey(COSKey key)COSTrailergetFirstTrailer()List<COSKey>getKeys()COSTrailergetLastTrailer()LonggetOffset(COSKey key)longgetStartXRef()SortedSet<Long>getStartXRefs()COSTrailergetTrailer()protected voidsetXRefInfo(List<COSXRefInfo> infos)protected voidsetXRefInfo(COSXRefInfo info)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.verapdf.io.IReader
getGreatestKeyNumberFromXref, getHeader, getLastTrailerOffset, getObject, getObject, getPDFSource, isLinearized
-
-
-
-
Constructor Detail
-
XRefReader
public XRefReader()
-
XRefReader
public XRefReader(List<COSXRefInfo> infos)
-
XRefReader
public XRefReader(COSXRefInfo info)
-
-
Method Detail
-
getStartXRef
public long getStartXRef()
- Specified by:
getStartXRefin interfaceIReader
-
getStartXRefs
public SortedSet<Long> getStartXRefs()
- Specified by:
getStartXRefsin interfaceIReader
-
getTrailer
public COSTrailer getTrailer()
- Specified by:
getTrailerin interfaceIReader
-
getFirstTrailer
public COSTrailer getFirstTrailer()
- Specified by:
getFirstTrailerin interfaceIReader
-
getLastTrailer
public COSTrailer getLastTrailer()
- Specified by:
getLastTrailerin interfaceIReader
-
setXRefInfo
protected void setXRefInfo(List<COSXRefInfo> infos)
-
setXRefInfo
protected void setXRefInfo(COSXRefInfo info)
-
containsKey
protected boolean containsKey(COSKey key)
-
-