|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStreamingImageSource
UNSTABLE INTERFACE Represents an image source for an image that is present as an encoded byte stream, like present on a file system or present in a database BLOB.
Method Summary | |
---|---|
void |
close()
This will be called when resources are to be released. |
java.io.InputStream |
getInputStream()
This must return the stream to use for this resource. |
java.lang.String |
getMimeType()
This MUST return the stream's mime type, which must be one of the supported formats (jpeg, gif, png) |
int |
getSize()
Return the size in bytes of the stream. |
Method Detail |
---|
java.lang.String getMimeType()
int getSize() throws java.lang.Exception
java.lang.Exception
java.io.InputStream getInputStream() throws java.lang.Exception
java.lang.Exception
void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |