Top Description Fields Constructors Methods
org.apache.pdfbox.debugger.ui

public Class XrefEntries

extends Object
Class Inheritance
Imports
org.apache.pdfbox.pdmodel.PDDocument, java.util.Comparator, .List, .Map, .Map.Entry, java.util.stream.Collectors, org.apache.pdfbox.cos.COSDocument, .COSObject, .COSObjectKey

Represents an abstract view of the cross references of a pdf.

Field Summary

Modifier and TypeField and Description
private final COSDocument
private final List<Map.Entry<COSObjectKey, Long>>
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public XrefEntry
getXrefEntry(int index)

public int
public int
indexOf(XrefEntry xrefEntry)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

documentback to summary
private final COSDocument document
entriesback to summary
private final List<Map.Entry<COSObjectKey, Long>> entries
PATHback to summary
public static final String PATH

Constructor Detail

XrefEntriesback to summary
public XrefEntries(PDDocument document)

Method Detail

getXrefEntryback to summary
public XrefEntry getXrefEntry(int index)
getXrefEntryCountback to summary
public int getXrefEntryCount()
indexOfback to summary
public int indexOf(XrefEntry xrefEntry)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override