Package org.mycore.mods.identifier
Class MCRURLIdentifierDetector
java.lang.Object
org.mycore.mods.identifier.MCRURLIdentifierDetector
- All Implemented Interfaces:
MCRIdentifierDetector<URI>
-
Constructor Summary
ConstructorDescriptionMCRURLIdentifierDetector
(Collection<MCRIdentifierDetector<URI>> normalizers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDetector
(MCRIdentifierDetector<URI> identifierDetector) void
removeDetector
(MCRIdentifierDetector<URI> identifierDetector)
-
Constructor Details
-
MCRURLIdentifierDetector
-
MCRURLIdentifierDetector
public MCRURLIdentifierDetector()
-
-
Method Details
-
addDetector
-
removeDetector
-
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.
-