com.acciente.induction.view
Interface Image


public interface Image

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

Author:
Adinath Raveendra Raj
See Also:
ImageStream

Method Summary
 byte[] getImage()
          This method should return the contents of the image as a byte array
 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

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


Copyright © 2008-2013 Acciente, LLC. All Rights Reserved.