org.apache.pluto.driver.url.impl
Class PortalURLParserImpl

java.lang.Object
  extended by org.apache.pluto.driver.url.impl.PortalURLParserImpl
All Implemented Interfaces:
PortalURLParser

public class PortalURLParserImpl
extends Object
implements PortalURLParser

Since:
Sep 30, 2004
Version:
1.0

Method Summary
static PortalURLParser getParser()
          Returns the singleton parser instance.
 PortalURL parse(javax.servlet.http.HttpServletRequest request)
          Parse a servlet request to a portal URL.
 String toString(PortalURL portalURL)
          Converts a portal URL to a URL string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParser

public static PortalURLParser getParser()
Returns the singleton parser instance.

Returns:
the singleton parser instance.

parse

public PortalURL parse(javax.servlet.http.HttpServletRequest request)
Parse a servlet request to a portal URL.

Specified by:
parse in interface PortalURLParser
Parameters:
request - the servlet request to parse.
Returns:
the portal URL.

toString

public String toString(PortalURL portalURL)
Converts a portal URL to a URL string.

Specified by:
toString in interface PortalURLParser
Parameters:
portalURL - the portal URL to convert.
Returns:
a URL string representing the portal URL.


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.