public class PDFFileSpec extends PDFObject
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
filename
the filename
|
DATE_FORMAT, log| Constructor and Description |
|---|
PDFFileSpec(java.lang.String filename)
create a /FileSpec object.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
contentEquals(PDFObject obj)
Check if the other PDFObject has the same content as the current object.
|
java.lang.String |
toPDFString()
This method returns a String representation of the PDF object.
|
encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, output, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDFpublic PDFFileSpec(java.lang.String filename)
filename - the filename represented by this objectpublic java.lang.String toPDFString()
toPDFString in class PDFObjectprotected boolean contentEquals(PDFObject obj)
Note: This function has a contract which is less binding than
Object.equals(Object). Whereas equals would require all values to be
identical, this method is not required to check everything. In the case
of PDFObjects, this means that the overriding function does not have to
check for PDFObject.getObjectID().
contentEquals in class PDFObjectobj - object to compare to.Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.