Class AbstractInputStreamImageSource
- java.lang.Object
-
- net.sf.jooreports.templates.image.AbstractInputStreamImageSource
-
- All Implemented Interfaces:
ImageSource
- Direct Known Subclasses:
ClasspathImageSource,FileImageSource
public abstract class AbstractInputStreamImageSource extends java.lang.Object implements ImageSource
-
-
Constructor Summary
Constructors Constructor Description AbstractInputStreamImageSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intgetHeight()protected abstract java.io.InputStreamgetInputStream()intgetWidth()voidwrite(java.io.OutputStream outputStream)
-
-
-
Method Detail
-
getInputStream
protected abstract java.io.InputStream getInputStream() throws java.io.IOException- Throws:
java.io.IOException
-
write
public void write(java.io.OutputStream outputStream) throws java.io.IOException- Specified by:
writein interfaceImageSource- Throws:
java.io.IOException
-
getWidth
public int getWidth()
- Specified by:
getWidthin interfaceImageSource
-
getHeight
public int getHeight()
- Specified by:
getHeightin interfaceImageSource
-
-