org.portletbridge.rewriter
Class RegExStyleSheetRewriter

java.lang.Object
  extended by org.portletbridge.rewriter.RegExStyleSheetRewriter
All Implemented Interfaces:
StyleSheetRewriter

public class RegExStyleSheetRewriter
extends java.lang.Object
implements StyleSheetRewriter

Author:
JMcCrindle

Constructor Summary
RegExStyleSheetRewriter(UrlRewriter urlRewriter)
           
 
Method Summary
 java.lang.String rewrite(java.lang.String css)
           
 java.lang.StringBuffer rewriteImports(java.lang.StringBuffer css)
           
 java.lang.StringBuffer rewriteUrls(java.lang.StringBuffer css)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegExStyleSheetRewriter

public RegExStyleSheetRewriter(UrlRewriter urlRewriter)
Parameters:
urlRewriter -
Method Detail

rewriteUrls

public java.lang.StringBuffer rewriteUrls(java.lang.StringBuffer css)
                                   throws PortletBridgeException
Throws:
PortletBridgeException

rewriteImports

public java.lang.StringBuffer rewriteImports(java.lang.StringBuffer css)
                                      throws PortletBridgeException
Throws:
PortletBridgeException

rewrite

public java.lang.String rewrite(java.lang.String css)
                         throws PortletBridgeException
Specified by:
rewrite in interface StyleSheetRewriter
Throws:
PortletBridgeException


Copyright © 2002-2006 Grape Design Limited. All Rights Reserved.