See also org.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final Logger | |
| private static final String | |
| private static final XmpUtilShared |
| 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 PDDocument | 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 | readXmp(Path
The path to read from. path, XmpPreferences xmpPreferences)Returns: list of a single BibEntry retrieved by merging the data from the stream |
| public List | readXmp(Path
the path to the PDF file path, PDDocument the PDF document to read from (should have been created from document, XmpPreferences xmpPreferences)pathMerges all XMP data together in one entry. |
| 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 | |
| XMP_UTIL_SHARED | back to summary |
|---|---|
| private static final XmpUtilShared XMP_UTIL_SHARED | |
| 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. Moreover, DomXmpParser does not handle unknown namespaces
| |
| loadWithAutomaticDecryption | back to summary |
|---|---|
| public PDDocument loadWithAutomaticDecryption(Path path) throws IOException 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 | |
| readXmp | back to summary |
|---|---|
| public List Merges all XMP data together in one entry. Try to read the given BibTexEntry from the given PDF file. Looks at the DocumentInformation and the XMP metadata. Regarding the XMP metadata, only Dublin Core is supported.
| |