fr.opensagres.xdocreport.document.images
Class AbstractInputStreamImageProvider
java.lang.Object
fr.opensagres.xdocreport.document.images.AbstractImageProvider
fr.opensagres.xdocreport.document.images.AbstractInputStreamImageProvider
- All Implemented Interfaces:
- IImageProvider
- Direct Known Subclasses:
- ClassPathImageProvider, FileImageProvider
public abstract class AbstractInputStreamImageProvider
- extends AbstractImageProvider
Methods inherited from class fr.opensagres.xdocreport.document.images.AbstractImageProvider |
getBehaviour, getHeight, getImageInfo, getWidth, isResize, isUseImageSize, isValid, resetImageInfo, setBehaviour, setHeight, setResize, setSize, setUseImageSize, setWidth |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractInputStreamImageProvider
public AbstractInputStreamImageProvider(boolean keepTemplateImageSize)
write
public void write(OutputStream outputStream)
throws IOException
- Description copied from interface:
IImageProvider
- Write the binary data of the image in the given output stream.
- Throws:
IOException
getInputStream
protected abstract InputStream getInputStream()
throws IOException
- Throws:
IOException
doIsValid
protected boolean doIsValid()
- Specified by:
doIsValid
in class AbstractImageProvider
loadImageInfo
protected SimpleImageInfo loadImageInfo()
throws IOException
- Description copied from class:
AbstractImageProvider
- Load image info.
- Specified by:
loadImageInfo
in class AbstractImageProvider
- Returns:
-
- Throws:
IOException
Copyright © 2013. All rights reserved.