org.gcube.portlets.user.homelibrary.home.workspace.folder.items
Interface Image

All Superinterfaces:
File
All Known Subinterfaces:
ExternalImage, ImageDocument

public interface Image
extends File

Author:
Federico De Faveri defaveri@isti.cnr.it

Method Summary
 int getHeight()
          The image height.
 InputStream getThumbnail()
          The image thumbnail.
 int getThumbnailHeight()
          The image thumbnail height.
 long getThumbnailLength()
          The image thumbnail length.
 int getThumbnailWidth()
          The image thumbanil width.
 int getWidth()
          The image width.
 
Methods inherited from interface org.gcube.portlets.user.homelibrary.home.workspace.folder.items.File
getData, getLength, getMimeType, getName
 

Method Detail

getWidth

int getWidth()
The image width.

Returns:
the width.

getHeight

int getHeight()
The image height.

Returns:
the height.

getThumbnail

InputStream getThumbnail()
                         throws InternalErrorException
The image thumbnail.

Returns:
the thumbnail.
Throws:
InternalErrorException - if an internal error occurs.

getThumbnailWidth

int getThumbnailWidth()
The image thumbanil width.

Returns:
the thumbnail width.

getThumbnailHeight

int getThumbnailHeight()
The image thumbnail height.

Returns:
the thumbnail height.

getThumbnailLength

long getThumbnailLength()
                        throws InternalErrorException
The image thumbnail length.

Returns:
the thumbnail length.
Throws:
InternalErrorException - if an internal error occurs.


Copyright © 2013. All Rights Reserved.