public abstract class AbstractInputStreamImageProvider extends AbstractImageProvider
| Constructor and Description |
|---|
AbstractInputStreamImageProvider(boolean keepTemplateImageSize) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doIsValid() |
protected abstract InputStream |
getInputStream() |
protected IImageInfo |
loadImageInfo()
Load image info.
|
void |
write(OutputStream outputStream)
Write the binary data of the image in the given output stream.
|
getBehaviour, getHeight, getImageInfo, getWidth, isResize, isUseImageSize, isValid, resetImageInfo, setBehaviour, setHeight, setResize, setSize, setUseImageSize, setWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetImageFormatpublic AbstractInputStreamImageProvider(boolean keepTemplateImageSize)
public void write(OutputStream outputStream) throws IOException
IImageProviderIOExceptionprotected abstract InputStream getInputStream() throws IOException
IOExceptionprotected boolean doIsValid()
doIsValid in class AbstractImageProviderprotected IImageInfo loadImageInfo() throws IOException
AbstractImageProviderloadImageInfo in class AbstractImageProviderIOExceptionCopyright © 2017. All Rights Reserved.