Class AnnoImageProvider

java.lang.Object
com.levigo.jadice.web.demo.common.server.annotation.AnnoImageProvider
All Implemented Interfaces:
AnnotationImageProvider

@Component public class AnnoImageProvider extends Object implements AnnotationImageProvider
  • Constructor Details

    • AnnoImageProvider

      public AnnoImageProvider()
  • Method Details

    • provideAnnotationImage

      public com.levigo.jadice.document.io.SeekableInputStream provideAnnotationImage(String annotationImageID) throws IOException
      Description copied from interface: AnnotationImageProvider
      Provides an image for the requested image annotation identifier.
      Specified by:
      provideAnnotationImage in interface AnnotationImageProvider
      Parameters:
      annotationImageID - The image identification set by the AnnotationCustomizer.
      Returns:
      The image for the requested annotation. Must never return null.
      Throws:
      IOException - if the image couldn't be loaded/obtained.