org.xwiki.bridge
Interface SkinAccessBridge
@ComponentRole
public interface SkinAccessBridge
Exposes methods for accessing Skin data.
- Since:
- 1.7
- Version:
- $Id$
|
Method Summary |
java.lang.String |
getIconURL(java.lang.String iconName)
|
java.lang.String |
getSkinFile(java.lang.String fileName)
Gets a specific file from the current skin. |
getSkinFile
java.lang.String getSkinFile(java.lang.String fileName)
- Gets a specific file from the current skin.
- Parameters:
fileName - the required file
- Returns:
- the file's URL
getIconURL
java.lang.String getIconURL(java.lang.String iconName)
- Parameters:
iconName - the standard name of an icon (it's not the name of the file on the filesystem, it's a generic
name, for example "success" for a success icon
- Returns:
- the URL to the icon resource
- Since:
- 2.6M1
Copyright © 2004-2011 XWiki. All Rights Reserved.