Class MCRIIIFPresentationUtil

java.lang.Object
org.mycore.iiif.presentation.MCRIIIFPresentationUtil

public class MCRIIIFPresentationUtil extends Object
  • Constructor Details

    • MCRIIIFPresentationUtil

      public MCRIIIFPresentationUtil()
  • Method Details

    • correctIDs

      public static void correctIDs(MCRIIIFBase base, String impl, String identifier)
      The ids (MCRIIIFBase.id) are all local e.g. a canvas id is maybe abcdf.tiff then this methods replaces the id with a URI. -> http://my.repository.com/iiif/presentation/$impl/$identifier/canvas/abcdf.tiff Works recursive
      Parameters:
      base - where to start with replacing
      impl -
      identifier -