com.karmasphere.share.util
Class SimpleUrl

java.lang.Object
  extended by com.karmasphere.share.util.SimpleUrl

public class SimpleUrl
extends Object


Constructor Summary
SimpleUrl(String data)
          Returns a canonical URL for the given data.
SimpleUrl(String scheme, String host, String path)
           
 
Method Summary
 String getHost()
           
 String getPath()
           
 String getScheme()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleUrl

public SimpleUrl(String scheme,
                 String host,
                 String path)

SimpleUrl

public SimpleUrl(String data)
          throws IdentityFormatException
Returns a canonical URL for the given data.

Throws:
IdentityFormatException
Method Detail

getScheme

public String getScheme()

getHost

public String getHost()

getPath

public String getPath()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2005 Karamsphere. All Rights Reserved.