Package org.mycore.iiif.presentation
Class MCRIIIFPresentationUtil
java.lang.Object
org.mycore.iiif.presentation.MCRIIIFPresentationUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
Constructor Details
-
MCRIIIFPresentationUtil
public MCRIIIFPresentationUtil()
-
-
Method Details
-
correctIDs
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 replacingimpl
-identifier
-
-