org.apache.fop.pdf

Class PDFFileSpec

Implemented Interfaces:
PDFWritable

public class PDFFileSpec
extends PDFObject

class representing a /FileSpec object.

Field Summary

protected String
filename
the filename

Fields inherited from class org.apache.fop.pdf.PDFObject

DATE_FORMAT, log

Constructor Summary

PDFFileSpec(String filename)
create a /FileSpec object.

Method Summary

boolean
equals(Object obj)
Check if this equals another object.
String
toPDFString()

Methods inherited from class org.apache.fop.pdf.PDFObject

encode, encodeString, encodeText, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, makeReference, output, referencePDF, setDocument, setObjectNumber, toInlinePDFString, toPDF, toPDFString

Field Details

filename

protected String filename
the filename

Constructor Details

PDFFileSpec

public PDFFileSpec(String filename)
create a /FileSpec object.
Parameters:
filename - the filename represented by this object

Method Details

equals

public boolean equals(Object obj)
Check if this equals another object.
Parameters:
obj - the object to compare
Returns:
true if this equals other object

toPDFString

public String toPDFString()
Overrides:
toPDFString in interface PDFObject

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.