Class ResourceDownload

java.lang.Object
io.goobi.viewer.model.resources.download.ResourceDownload

public final class ResourceDownload extends Object
Manages record resources that are made available to users for download, like pdf files or other media not displayed directly in the viewer
  • Method Details

    • getExternalResourceId

      public static String getExternalResourceId(String pi, String url)
      Create an identifier for a resource accessible through an external url
      Parameters:
      pi - persistent identifier of the work the resource belongs to
      url - download url of the resource
      Returns:
      an id