public class FileTypeImageUtils
extends java.lang.Object
| Constructor and Description |
|---|
FileTypeImageUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getFileTypeImage(javax.faces.context.FacesContext fc,
java.lang.String name,
boolean small)
Return the image path to the filetype icon for the specified file name string
|
static java.lang.String |
getFileTypeImage(javax.faces.context.FacesContext fc,
java.lang.String name,
org.alfresco.service.cmr.repository.FileTypeImageSize size)
Return the image path to the filetype icon for the specified file name string
|
static java.lang.String |
getFileTypeImage(javax.servlet.ServletContext sc,
java.lang.String name,
boolean small)
Return the image path to the filetype icon for the specified file name string
|
static java.lang.String |
getFileTypeImage(javax.servlet.ServletContext sc,
java.lang.String name,
org.alfresco.service.cmr.repository.FileTypeImageSize size)
Return the image path to the filetype icon for the specified file name string
|
static java.lang.String |
getFileTypeImage(java.lang.String name,
boolean small)
Return the image path to the filetype icon for the specified file name string
|
public static java.lang.String getFileTypeImage(java.lang.String name,
boolean small)
name - File name to build filetype icon path forsmall - True for the small 16x16 icon or false for the large 32x32public static java.lang.String getFileTypeImage(javax.faces.context.FacesContext fc,
java.lang.String name,
boolean small)
fc - FacesContextname - File name to build filetype icon path forsmall - True for the small 16x16 icon or false for the large 32x32public static java.lang.String getFileTypeImage(javax.faces.context.FacesContext fc,
java.lang.String name,
org.alfresco.service.cmr.repository.FileTypeImageSize size)
fc - FacesContextname - File name to build filetype icon path forsize - Size of the icon to returnpublic static java.lang.String getFileTypeImage(javax.servlet.ServletContext sc,
java.lang.String name,
boolean small)
sc - ServletContextname - File name to build filetype icon path forsmall - True for the small 16x16 icon or false for the large 32x32public static java.lang.String getFileTypeImage(javax.servlet.ServletContext sc,
java.lang.String name,
org.alfresco.service.cmr.repository.FileTypeImageSize size)
sc - ServletContextname - File name to build filetype icon path forsize - Size of the icon to returnCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.