Return to www.inductionframework.org

com.acciente.induction.view
Interface Image


public interface Image

This view interface should be implemented to send an image to the browser.

See Also:
ImageStream

Method Summary
 byte[] getImage()
          This method should return the contents of the image as a byte array
 java.lang.String getMimeType()
          This method should return the mime type of the text content
 

Method Detail

getImage

byte[] getImage()
This method should return the contents of the image as a byte array

Returns:
a byte array with the image data

getMimeType

java.lang.String getMimeType()
This method should return the mime type of the text content

Returns:
a string representation of a mime type, e.g. text/html

Return to www.inductionframework.org

Copyright (c) 2008 Acciente, LLC. All rights reserved.