org.xwiki.bridge
Interface SkinAccessBridge


@Role
public interface SkinAccessBridge

Exposes methods for accessing Skin data.

Since:
1.7
Version:
$Id: 6129a6f333fd3039f15447edc64ab2dfffbe4b69 $

Method Summary
 String getIconURL(String iconName)
           
 String getSkinFile(String fileName)
          Gets a specific file from the current skin.
 

Method Detail

getSkinFile

String getSkinFile(String fileName)
Gets a specific file from the current skin.

Parameters:
fileName - the required file
Returns:
the file's URL

getIconURL

String getIconURL(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-2012 XWiki. All Rights Reserved.