org.portletbridge.rewriter
Class FullUrlRewriter

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

public class FullUrlRewriter
extends java.lang.Object
implements UrlRewriter

Author:
JMcCrindle

Constructor Summary
FullUrlRewriter(java.lang.String currentUrl, java.lang.String newBaseUrl)
           
 
Method Summary
protected  java.lang.String getBaseContext(java.lang.String newBaseUrl)
           
 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

FullUrlRewriter

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

getBaseContext

protected java.lang.String getBaseContext(java.lang.String newBaseUrl)
Parameters:
newBaseUrl2 -
Returns:

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.