org.gcube.portlets.user.reportgenerator.server.servlet
Class ImagesUtil
java.lang.Object
org.gcube.portlets.user.reportgenerator.server.servlet.ImagesUtil
public class ImagesUtil
- extends Object
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 |
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
ImagesUtil
public ImagesUtil()
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.