public class FacesImageResolver extends Object implements TemplateImageResolver
TemplateImageResolver
interface, based on FileTypeImageUtils
utility. It relies on availability of FacesContext
instanceConstructor and Description |
---|
FacesImageResolver() |
Modifier and Type | Method and Description |
---|---|
String |
resolveImagePathForName(String filename,
FileTypeImageSize size)
Resolve the qualified icon image path for the specified filename
|
public String resolveImagePathForName(String filename, FileTypeImageSize size)
TemplateImageResolver
resolveImagePathForName
in interface TemplateImageResolver
filename
- The file name to resolve image path forsize
- Enum representing the size of the image to retrieveCopyright © 2005–2017 Alfresco Software. All rights reserved.