Class MediaHandler
java.lang.Object
io.goobi.viewer.controller.imaging.MediaHandler
Resolves urls audio or video files
- Author:
- Florian Alpers
-
Constructor Summary
ConstructorDescriptionConstructor for MediaHandler. -
Method Summary
-
Constructor Details
-
MediaHandler
public MediaHandler() -
MediaHandler
Constructor for MediaHandler.
- Parameters:
urls
-
-
-
Method Details
-
getMediaUrl
public String getMediaUrl(String type, String format, String pi, String filename) throws de.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestException Returns the url to the media object for the given pi and filename- Parameters:
type
- The mime type to useformat
-pi
- The pi of the requested workfilename
- The media filename- Returns:
- the url to the media file of the given pi and filename
- Throws:
de.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestException
-