Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 2.07 KB

README.md

File metadata and controls

39 lines (29 loc) · 2.07 KB

Exporter Commons

Library with common classes and interfaces for the data export (e.g. to some repository).

Functionality

  • 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

How to add to your maven project (as dependency in pom.xml)

<dependency>
    <groupId>com.github.bwfdm</groupId>
    <artifactId>exporter-commons</artifactId>
    <version>0.4.0</version>
</dependency>  

How to use

  • 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

Tests

Limitations

  • currently SwordExporter supports metadata in DublinCore only as Map<String, List>. Metadata as XML-file is NOT supported yet.

Used third party libraries and their licenses

Own license