org.gcube.portlets.user.reportgenerator.server.servlet
Class ImagesUtil

java.lang.Object
  extended by org.gcube.portlets.user.reportgenerator.server.servlet.ImagesUtil

public class ImagesUtil
extends Object


Field Summary
static String BMP
           
static String GIF
           
static String JPEG
           
static String JPG
           
static String PNG
           
static String TIFF
           
 
Constructor Summary
ImagesUtil()
           
 
Method Summary
static String getImageExtension(org.gcube.common.homelibrary.home.workspace.folder.FolderItem bi)
          return a string for the file extension given a mimetype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GIF

public static final String GIF
See Also:
Constant Field Values

PNG

public static final String PNG
See Also:
Constant Field Values

JPEG

public static final String JPEG
See Also:
Constant Field Values

JPG

public static final String JPG
See Also:
Constant Field Values

TIFF

public static final String TIFF
See Also:
Constant Field Values

BMP

public static final String BMP
See Also:
Constant Field Values
Constructor Detail

ImagesUtil

public ImagesUtil()
Method Detail

getImageExtension

public static String getImageExtension(org.gcube.common.homelibrary.home.workspace.folder.FolderItem bi)
return a string for the file extension given a mimetype

Parameters:
bi - the basketItem
Returns:
a string for the file extension given a mimetype


Copyright © 2014. All Rights Reserved.