org.apache.fop.pdf
Class PDFFileSpec

org.apache.fop.pdf.PDFObject
  |
  +--org.apache.fop.pdf.PDFFileSpec

public class PDFFileSpec
extends PDFObject

class representing a /FileSpec object.


Constructor Summary
PDFFileSpec(int number, String filename)
          create a /FileSpec object.

Method Summary
 byte[]toPDF()
          represent the object in PDF

Methods inherited from class org.apache.fop.pdf.PDFObject
getNumber, referencePDF

Constructor Detail

PDFFileSpec

public PDFFileSpec(int number, String filename)
create a /FileSpec object.
Parameters:
number - the object's number
filename - the filename represented by this object
Method Detail

toPDF

public byte[] toPDF()
represent the object in PDF
Returns: the PDF string

Association Links

to Class java.lang.String

the filename