org.barracudamvc.plankton.http
Class LightweightURL

java.lang.Object
  extended by org.barracudamvc.plankton.http.LightweightURL

public class LightweightURL
extends Object

A lightweight URL class


Constructor Summary
LightweightURL(String iurl)
          Create a lightweight url
 
Method Summary
 String getBaseStr()
          Return the base part of the URL (everything up to the ?)
 String getParamStr()
          Return the whole URL string (from the ?
 String getURLStr()
          Return the whole URL string (ie.
 String toString()
          Return a String representation of the URL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LightweightURL

public LightweightURL(String iurl)
Create a lightweight url

Parameters:
iurl - a URL string
Method Detail

getURLStr

public String getURLStr()
Return the whole URL string (ie. "http://foo.com?foo1=blah1&foo2=blah2")


getBaseStr

public String getBaseStr()
Return the base part of the URL (everything up to the ?) (ie. "http://foo.com")


getParamStr

public String getParamStr()
Return the whole URL string (from the ? to the end) (ie. "?foo1=blah1&foo2=blah2")


toString

public String toString()
Return a String representation of the URL

Overrides:
toString in class Object


Copyright © 2006 BarracudaMVC.org All Rights Reserved.