Interface ExternalContentURLMapper

  • All Known Implementing Classes:
    SelfReferencingURLMapper

    public interface ExternalContentURLMapper
    An interface defining a method to replace one URL (represented as a String) with another. In the context of migrating objects from fedora 3 to fedora 4, there may be a need to make programmatic updates to the URLs founds in External or Redirect datastreams. This interface is for that purpose.
    Author:
    Mike Durbin
    • Method Detail

      • mapURL

        String mapURL​(String url)
        Parameters:
        url - to be mapped
        Returns:
        the String containing a URL that should be used instead of the given String for migrated external or redirect datastreams.