Class AnnoImageProvider
java.lang.Object
com.levigo.jadice.web.demo.common.server.annotation.AnnoImageProvider
- All Implemented Interfaces:
AnnotationImageProvider
@Component("DemoCommonAnnoImageProvider")
public class AnnoImageProvider
extends Object
implements AnnotationImageProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.levigo.jadice.document.io.SeekableInputStreamprovideAnnotationImage(String annotationImageID) Provides an image for the requested image annotation identifier.
-
Constructor Details
-
AnnoImageProvider
public AnnoImageProvider()
-
-
Method Details
-
provideAnnotationImage
public com.levigo.jadice.document.io.SeekableInputStream provideAnnotationImage(String annotationImageID) throws IOException Description copied from interface:AnnotationImageProviderProvides an image for the requested image annotation identifier.- Specified by:
provideAnnotationImagein interfaceAnnotationImageProvider- 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.
-