Class BlobImageProvider
java.lang.Object
fr.opensagres.xdocreport.document.images.AbstractImageProvider
fr.opensagres.xdocreport.document.images.AbstractInputStreamImageProvider
org.nuxeo.template.processors.xdocreport.BlobImageProvider
- All Implemented Interfaces:
fr.opensagres.xdocreport.document.images.IImageProvider
public class BlobImageProvider
extends fr.opensagres.xdocreport.document.images.AbstractInputStreamImageProvider
XDocReport wrapper for a Picture stored in a Nuxeo Blob
- Author:
- Tiry
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Blob
protected final fr.opensagres.xdocreport.core.document.ImageFormat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfr.opensagres.xdocreport.core.document.ImageFormat
protected InputStream
Methods inherited from class fr.opensagres.xdocreport.document.images.AbstractInputStreamImageProvider
doIsValid, loadImageInfo, write
Methods inherited from class fr.opensagres.xdocreport.document.images.AbstractImageProvider
getBehaviour, getHeight, getImageInfo, getWidth, isResize, isUseImageSize, isValid, resetImageInfo, setBehaviour, setHeight, setResize, setSize, setUseImageSize, setWidth
-
Field Details
-
blob
-
imageFormat
protected final fr.opensagres.xdocreport.core.document.ImageFormat imageFormat
-
-
Constructor Details
-
BlobImageProvider
-
-
Method Details
-
getInputStream
- Specified by:
getInputStream
in classfr.opensagres.xdocreport.document.images.AbstractInputStreamImageProvider
- Throws:
IOException
-
getImageFormat
public fr.opensagres.xdocreport.core.document.ImageFormat getImageFormat()
-