Skip to content

Commit

Permalink
Issue #2: adding provider manager and list of providers.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed Nov 7, 2018
1 parent 42a7d64 commit 2be9105
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package de.gwdg.europeanaqa.api.abbreviation;

import de.gwdg.metadataqa.api.abbreviation.AbbreviationManager;

import java.util.Map;

/**
*
* @author Péter Király <peter.kiraly at gwdg.de>
*/
public class EdmProviderManager extends AbbreviationManager {

public EdmProviderManager() {
super();
initialize("abbreviations/providers-v1.csv", true);
}

public Map<String, Integer> getData() {
return data;
}
}
1 change: 1 addition & 0 deletions src/main/resources/abbreviations/providers-v1.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0;na

0 comments on commit 2be9105

Please sign in to comment.