* @return the StlyesheetSet object
* @throws PortalException
*/
public static StylesheetSet getStylesheetSet (String stylesheetListURI) throws PortalException {
// First, check the cache...
StylesheetSet stylesheetSet = stylesheetSetCache.get(stylesheetListURI);
if(null != stylesheetSet) {
// cache hit
return stylesheetSet;
} else {
// Get the StylesheetSet and cache it
stylesheetSet = new StylesheetSet(stylesheetListURI);
if (stylesheetSetCacheEnabled) {
stylesheetSetCache.put(stylesheetListURI, stylesheetSet);
if (log.isInfoEnabled()) {
log.info( "Cached StylesheetSet for: " + stylesheetListURI);
}