to.etc.domui.caches.images
Interface IImageStreamSource

All Known Subinterfaces:
IImageFileSource, IImageMemorySource

public interface IImageStreamSource

The most basic of interfaces to access an image's data stream: this allows you to create a datastream to access the image. The stream needs to be closed after use.

Author:
Frits Jalvingh Created on Dec 1, 2009

Method Summary
 java.io.InputStream getImageStream()
          Return a datastream for the image's raw data.
 int getSize()
          The size, in bytes, of the cached data.
 

Method Detail

getImageStream

java.io.InputStream getImageStream()
                                   throws java.lang.Exception
Return a datastream for the image's raw data.

Returns:
Throws:
java.lang.Exception

getSize

int getSize()
The size, in bytes, of the cached data.

Returns: