|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgnu.jpdf.PDFXref
public class PDFXref
This class is used to hold the xref information in the PDF Trailer block.
Basically, each object has an id, and an offset in the end file.
See the Adobe PDF Manual for more information. This class will normally not be used directly by a developer
| Field Summary | |
|---|---|
int |
generation
The generation of the object, usually 0 |
int |
id
The id of a PDF Object |
int |
offset
The offset within the PDF file |
| Constructor Summary | |
|---|---|
PDFXref(int id,
int offset)
Creates a crossreference for a PDF Object |
|
PDFXref(int id,
int offset,
int generation)
Creates a crossreference for a PDF Object |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int id
public int offset
public int generation
| Constructor Detail |
|---|
public PDFXref(int id,
int offset)
id - The object's IDoffset - The object's position in the file
public PDFXref(int id,
int offset,
int generation)
id - The object's IDoffset - The object's position in the filegeneration - The object's generation, usually 0| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||