Interface MCRIdentifierDetector<T>

All Known Implementing Classes:
MCRGBVURLDetector, MCRURLIdentifierDetector

public interface MCRIdentifierDetector<T>
Identifies identifiers in specific sources. E.g. T=URL could Detect the GND 118948032 in a URL like http://d-nb.info/gnd/118948032.
  • Method Details

    • detect

      Optional<Map.Entry<String,String>> detect(T resolvable)
      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.