Example usage for Java org.apache.pdfbox.pdmodel.common.filespecification PDEmbeddedFile fields, constructors, methods, implement or subclass
The text is from its open source code.
PDEmbeddedFile(PDDocument doc, InputStream str) Constructor. |
COSInputStream | createInputStream() This will get a stream that can be read from. |
Calendar | getCreationDate() Get the creation date of the embedded file. |
Calendar | getModDate() Get the mod date of the embedded file. |
int | getSize() Get the size of the embedded file. |
String | getSubtype() Get the subtype(mimetype) for the embedded file. |
void | setCreationDate(Calendar creation) Set the creation date. |
void | setModDate(Calendar mod) Set the mod date. |
void | setSize(int size) Set the size of the embedded file. |
void | setSubtype(String mimeType) Set the subtype for this embedded file. |
byte[] | toByteArray() This will copy the stream into a byte array. |