Class ResourceDownload
java.lang.Object
io.goobi.viewer.model.resources.download.ResourceDownload
Manages record resources that are made available to users for download, like pdf files or other media not displayed directly in the viewer
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetExternalResourceId(String pi, String url) Create an identifier for a resource accessible through an external url
-
Method Details
-
getExternalResourceId
Create an identifier for a resource accessible through an external url- Parameters:
pi- persistent identifier of the work the resource belongs tourl- download url of the resource- Returns:
- an id
-