Class ThumbProfileUtil

java.lang.Object
org.dspace.app.iiif.service.utils.ThumbProfileUtil

@Component public class ThumbProfileUtil extends Object
  • Constructor Details

    • ThumbProfileUtil

      public ThumbProfileUtil()
  • Method Details

    • getThumbnailProfile

      public ProfileGenerator getThumbnailProfile() throws RuntimeException
      Utility method for obtaining the thumbnail image service profile. Calling from this utility provides a unique instance of the autowired property. Necessary because a single canvas resource contains both thumbnail and images.
      Returns:
      the thumbnail service profile
      Throws:
      RuntimeException