|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEmbeddedFile
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, deflated. |
String |
getFileName()
Returns the embedded file name. |
InputStream |
getInputStream()
Returns an input stream from which the file contents can be read. |
int |
getSize()
Get the size of the file content in bytes. |
void |
saveFile(File outFile)
Saves the content of the embedded file to the given output file. |
void |
write(OutputStream outStream)
Write the file content to an output stream. |
| Method Detail |
|---|
String getFileName()
void saveFile(File outFile)
throws IOException,
PDFException
outFile - the file to save to.
IOException
PDFException
byte[] getDeflatedContents()
throws PDFException,
IOException
PDFException
IOException
int getSize()
throws IOException,
PDFException
IOException
PDFException
void write(OutputStream outStream)
throws IOException,
PDFException
outStream - the output stream.
IOException
PDFException
InputStream getInputStream()
throws PDFException,
IOException
PDFException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||