wttools.protocols.extend
Class ExtendURI

java.lang.Object
  |
  +--wttools.protocols.extend.ExtendURI
All Implemented Interfaces:
URIIfc

public class ExtendURI
extends java.lang.Object
implements URIIfc

ExtendURI.java Created: Thu Nov 1 22:16:41 2001

Version:
$Revision: 1.5 $
Author:
Artur Hefczyc

Field Summary
protected  boolean debug
           
protected  java.lang.String ip_num
           
protected  URI uri
           
 
Constructor Summary
ExtendURI(java.lang.String uri)
           
ExtendURI(java.net.URL url)
           
 
Method Summary
 java.lang.String canonicalizePath(java.lang.String param1)
           
protected  void deb(java.lang.String str)
           
 int defaultPort(java.lang.String param1)
           
 java.lang.String getHost()
           
 java.lang.String getHostIP()
           
 java.lang.String getPassword()
           
 java.lang.String getPath()
           
 java.lang.String getPathAndQuery()
           
 int getPort()
           
 java.lang.String getProtocol()
           
 java.lang.String getQuery()
           
 java.lang.String getScheme()
           
 java.lang.String getUser()
           
 void setHostIP(java.lang.String param1)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uri

protected URI uri

ip_num

protected java.lang.String ip_num

debug

protected boolean debug
Constructor Detail

ExtendURI

public ExtendURI(java.lang.String uri)
          throws java.net.MalformedURLException

ExtendURI

public ExtendURI(java.net.URL url)
          throws java.net.MalformedURLException
Method Detail

toString

public java.lang.String toString()
Specified by:
toString in interface URIIfc
Overrides:
toString in class java.lang.Object
Returns:

getPath

public java.lang.String getPath()
Specified by:
getPath in interface URIIfc
Returns:

getProtocol

public java.lang.String getProtocol()
Specified by:
getProtocol in interface URIIfc
Returns:

getHost

public java.lang.String getHost()
Specified by:
getHost in interface URIIfc
Returns:

getQuery

public java.lang.String getQuery()
Specified by:
getQuery in interface URIIfc
Returns:

getPort

public int getPort()
Specified by:
getPort in interface URIIfc
Returns:

getScheme

public java.lang.String getScheme()
Specified by:
getScheme in interface URIIfc
Returns:

getUser

public java.lang.String getUser()
Specified by:
getUser in interface URIIfc
Returns:

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface URIIfc
Returns:

getHostIP

public java.lang.String getHostIP()
                           throws java.net.UnknownHostException
Specified by:
getHostIP in interface URIIfc
Returns:
Throws:
java.net.UnknownHostException -

getPathAndQuery

public java.lang.String getPathAndQuery()
Specified by:
getPathAndQuery in interface URIIfc
Returns:

canonicalizePath

public java.lang.String canonicalizePath(java.lang.String param1)
Specified by:
canonicalizePath in interface URIIfc
Parameters:
param1 -
Returns:

defaultPort

public int defaultPort(java.lang.String param1)
Specified by:
defaultPort in interface URIIfc
Parameters:
param1 -
Returns:

setHostIP

public void setHostIP(java.lang.String param1)
Specified by:
setHostIP in interface URIIfc
Parameters:
param1 -

deb

protected void deb(java.lang.String str)


Copyright GNU, wttools developers Team.