org.enhydra.barracuda.core.util.http
Class LightweightURL

java.lang.Object
  |
  +--org.enhydra.barracuda.core.util.http.LightweightURL

public class LightweightURL
extends java.lang.Object

A lightweight URL class


Constructor Summary
LightweightURL(java.lang.String iurl)
          Create a lightweight url
 
Method Summary
 java.lang.String getBaseStr()
          Return the base part of the URL (everything up to the ?)
 java.lang.String getParamStr()
          Return the whole URL string (from the ?
 java.lang.String getURLStr()
          Return the whole URL string (ie.
 java.lang.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(java.lang.String iurl)
Create a lightweight url

Method Detail

getURLStr

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


getBaseStr

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


getParamStr

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


toString

public java.lang.String toString()
Return a String representation of the URL

Overrides:
toString in class java.lang.Object


Copyright © 2001 Enhydra.org