public interface IEmbeddedFile
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
getCheckSum()
Get the 16-byte string that is the checksum of the bytes of the uncompressed embedded file. 
 | 
Date | 
getCreationDate()
The date and time when the embedded file was created. 
 | 
byte[] | 
getDeflatedContents()
Get the content of the embedded file, deflated. 
 | 
String | 
getDescription()
Returns the description string from the embedded file. 
 | 
String | 
getFileName()
Returns the embedded file name. 
 | 
InputStream | 
getInputStream()
Returns an input stream from which the file contents can be read. 
 | 
Date | 
getModDate()
The date and time when the embedded file was last modified. 
 | 
String | 
getRelationship()
Returns the relationship of the embedded file to the PDF document. 
 | 
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.IOExceptionPDFExceptionbyte[] getDeflatedContents()
                    throws PDFException,
                           IOException
PDFExceptionIOExceptionint getSize()
     throws IOException,
            PDFException
IOExceptionPDFExceptionbyte[] getCheckSum()
            throws PDFException,
                   IOException
PDFExceptionIOExceptionDate getCreationDate()
Date getModDate()
String getDescription()
String getRelationship()
void write(OutputStream outStream) throws IOException, PDFException
outStream - the output stream.IOExceptionPDFExceptionInputStream getInputStream() throws PDFException, IOException
PDFExceptionIOException