org.portletbridge.rewriter
Class DefaultUrlRewriter

java.lang.Object
  extended by org.portletbridge.rewriter.DefaultUrlRewriter
All Implemented Interfaces:
UrlRewriter

public class DefaultUrlRewriter
extends java.lang.Object
implements UrlRewriter

Author:
JMcCrindle

Constructor Summary
DefaultUrlRewriter(java.lang.String currentUrl, java.lang.String newBaseUrl)
           
 
Method Summary
 java.lang.String rewrite(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUrlRewriter

public DefaultUrlRewriter(java.lang.String currentUrl,
                          java.lang.String newBaseUrl)
Parameters:
baseUrl -
Method Detail

rewrite

public java.lang.String rewrite(java.lang.String url)
Specified by:
rewrite in interface UrlRewriter


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