Package org.mycore.mods.identifier
Class MCRGBVURLDetector
java.lang.Object
org.mycore.mods.identifier.MCRGBVURLDetector
- All Implemented Interfaces:
MCRIdentifierDetector<URI>
This Detector normalizes http://uri.gbv.de/document/gvk:ppn:834532662 to URI gvk:ppn:834532662.
TODO: maybe detect other identifier then ppn
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GBV_PREFIX
- See Also:
-
GVK_PREFIX
- See Also:
-
-
Constructor Details
-
MCRGBVURLDetector
public MCRGBVURLDetector()
-
-
Method Details
-
detect
- Specified by:
detect
in interfaceMCRIdentifierDetector<URI>
- Parameters:
resolvable
- some thing that can be resolved to a unique identifier- Returns:
- a
Map.Entry
with the identifier type as key and the identifier as value. The Optional can be empty if no identifier can be detected or if a error occurs.
-