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 int
getHeight()
protected abstract java.io.InputStream
getInputStream()
int
getWidth()
void
write(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:
write
in interfaceImageSource
- Throws:
java.io.IOException
-
getWidth
public int getWidth()
- Specified by:
getWidth
in interfaceImageSource
-
getHeight
public int getHeight()
- Specified by:
getHeight
in interfaceImageSource
-
-