Library with common classes and interfaces for the data export (e.g. to some repository).
-
ExportRepository.java - a common interface for the communication with any export repository (e.g. instance of DSpace, Dataverse etc.)
-
SwordExporter.java - an abstract class with general exporting methods for SWORD-based repositories (e.g. DSpace, Dataverse etc.), SWORDv2 is supported for now.
For changes history please see CHANGELOG.md
<dependency>
<groupId>com.github.bwfdm</groupId>
<artifactId>exporter-commons</artifactId>
<version>0.4.0</version>
</dependency>
- if repository supports a SWORD protocol, the repository class should extend the SwordExporter.java.
- if common interface for different repositories is needed, the repository class should implement the ExportRepository.java
- for test example see SwordExporterTester.java
- for credentials input please see repositories_schema.xsd and repositories_template.xml
- currently SwordExporter supports metadata in DublinCore only as Map<String, List>. Metadata as XML-file is NOT supported yet.
- MIT, see license.txt