public class CSSUtils extends Object
| Constructor and Description |
|---|
CSSUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
adjustCssSkinFolder(String skinFolder)
Captures the (yes) overly complex rules for the skin folder naming convention
|
static String |
getCssToolBase()
Returns a URL for the tool_base.css suitable for putting in an href= field.
|
static String |
getCssToolSkin(org.sakaiproject.site.api.Site site)
Returns a URL for the tool.css suitable for putting in an href= field.
|
static String |
getCssToolSkin(String skinFolder)
Returns a URL for the tool.css suitable for putting in an href= field.
|
public static String getCssToolBase()
cssToolBase URL for the tool_base.csspublic static String adjustCssSkinFolder(String skinFolder)
skinFolder - The folder where the skins are to be found.skinFolder The adjusted folder where the skins can be found.public static String getCssToolSkin(String skinFolder)
skinFolder - where the tool.css skin lives for this site.cssToolSkin URL for the tool.csspublic static String getCssToolSkin(org.sakaiproject.site.api.Site site)
site - The site for this tool.cssToolSkin URL for the tool.cssCopyright © 2003-2014 University of Michigan. All Rights Reserved.