| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final Logger | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private List | Returns: empty List if no metadata has been found, or cannot properly find start or end tag in metadataThis method is a hack to generate multiple XMPMetadata objects, because the implementation of the pdfbox does not support methods for reading multiple DublinCoreSchemas from a single metadata entry. |
| public org. | loadWithAutomaticDecryption(Path
The path to load. path)Loads the specified file with the basic pdfbox functionality and uses an empty string as default password. |
| public List | Returns: The XMPMetadata object found in the fileThe path to read the XMPMetadata from. path)Will read the XMPMetadata from the given pdf file, closing the file afterwards. |
| public List | Returns: list of BibEntries retrieved from the stream. May be empty, but never nullThe path to read from. path, XmpPreferences xmpPreferences)Try to read the given BibTexEntry from the XMP-stream of the given inputstream containing a PDF-file. |
| END_TAG | back to summary |
|---|---|
| private static final String END_TAG | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| START_TAG | back to summary |
|---|---|
| private static final String START_TAG | |
| XmpUtilReader | back to summary |
|---|---|
| public XmpUtilReader() | |
| getXmpMetadata | back to summary |
|---|---|
| private List This method is a hack to generate multiple XMPMetadata objects, because the implementation of the pdfbox does not support methods for reading multiple DublinCoreSchemas from a single metadata entry.
| |
| loadWithAutomaticDecryption | back to summary |
|---|---|
| public org. Loads the specified file with the basic pdfbox functionality and uses an empty string as default password.
| |
| readRawXmp | back to summary |
|---|---|
| public List Will read the XMPMetadata from the given pdf file, closing the file afterwards. | |
| readXmp | back to summary |
|---|---|
| public List Try to read the given BibTexEntry from the XMP-stream of the given inputstream containing a PDF-file. Only supports Dublin Core as a metadata format.
| |