public interface IEmbeddedFile
Modifier and Type | Method and Description |
---|---|
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.
|
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