|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Representation of an embedded file in a PDF document. This interface defines the methods that can be used on an embedded file
| Method Summary | |
byte[] |
getDeflatedContents()
Get the content of the embedded file. |
String |
getFileName()
Returns the embedded file name. |
int |
getSize()
Get the size of the file content in bytes. |
void |
open(String tempFileName)
Open the embedded file. |
void |
saveFile(File outFile)
Saves the content of the embedded file to the given File. |
void |
write(OutputStream outStream)
Write the file content to an output stream. |
| Method Detail |
public String getFileName()
public void saveFile(File outFile)
throws IOException,
PDFException
outFile - the file to save to.
IOException
PDFException
public void open(String tempFileName)
throws IOException,
PDFException
tempFileName - The name of the file created temporarily to display the file content.
IOException
PDFException
public byte[] getDeflatedContents()
throws PDFException,
IOException
PDFException
IOException
public int getSize()
throws IOException,
PDFException
IOException
PDFException
public void write(OutputStream outStream)
throws IOException,
PDFException
outStream - the output stream.
IOException
PDFException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||