Copyright© 2008-2022 Sitevision AB, all rights reserved.
@Requireable(value="IconUtil") public interface IconUtil
An instance of the Sitevision class implementing this interface can be obtained via Utils.getIconUtil()
.
See Utils
for how to obtain an instance of the Utils
interface.
Modifier and Type | Method and Description |
---|---|
Node |
getFileIcons(String aFileExtension)
Gets the file icon node for a given file extension.
|
String |
getLargeFileIconURI(String aFileExtension)
Gets the large file icon URI for a given file extension
|
String |
getSmallFileIconURI(String aFileExtension)
Gets the small file icon URI for a given file extension
|
Node getFileIcons(String aFileExtension)
aFileExtension
- the file extension (e.g "pdf", "PDF", "doc"). The extension is case insensitive.null
if the extension has no icon mappingString getSmallFileIconURI(String aFileExtension)
aFileExtension
- the file extension (e.g "pdf", "PDF", "doc"). The extension is case insensitive.null
if no small icon is specified for the extensionString getLargeFileIconURI(String aFileExtension)
aFileExtension
- the file extension (e.g "pdf", "PDF", "doc"). The extension is case insensitive.null
if no large icon is specified for the extensionSitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.