public class EmbeddedFile extends java.lang.Object
the document as a whole, or with
annotationsthat are located on a single page in a particular location. Files in PDF documents may be concretely embedded — in which case their content will be carried in full within the source PDF and be available via
EmbeddedFile.getContent()— or they may be referentially "embedded", in which case the files' contents will only be available via a URL provided by
|Modifier and Type||Method and Description|
Returns the data associated with this file, as embedded in the source document.
Returns the user-specified description of this file.
Returns a "specification" of the location of the file.
Returns true if the contents of this file should be expected to change over time.
public java.lang.String getDescription()
public boolean isContentVolatile()
EmbeddedFile.getFileLocation()is a remote URL, indicating that this "embedded file" is really just a reference.
public java.lang.String getFileLocation()
EmbeddedFile.getContent()will likely return
public byte getContent()
nullif the file's data is not actually carried by the source document (e.g. as when
file's locationis a remote URL).
java.io.IOException- if an error occurs reading the file's content