org.apache.webdav.client
Class URI4

java.lang.Object
  extended by org.apache.webdav.client.URI4
All Implemented Interfaces:
IURI

public class URI4
extends java.lang.Object
implements IURI

Wraps the URI specials of apache http client 4.


Constructor Summary
URI4(java.lang.String uri, boolean escaped)
           
 
Method Summary
 java.lang.String getEscapedFragment()
           
 java.lang.String getEscapedPath()
           
 java.lang.String getFragment()
           
 java.lang.String getHost()
           
 java.lang.String getPath()
           
 int getPort()
           
 java.lang.String getScheme()
           
 boolean isAbsoluteURI()
           
 void normalize()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

URI4

public URI4(java.lang.String uri,
            boolean escaped)
     throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException
Method Detail

getScheme

public java.lang.String getScheme()
                           throws java.lang.Exception
Specified by:
getScheme in interface IURI
Throws:
java.lang.Exception

getHost

public java.lang.String getHost()
                         throws java.lang.Exception
Specified by:
getHost in interface IURI
Throws:
java.lang.Exception

getPort

public int getPort()
            throws java.lang.Exception
Specified by:
getPort in interface IURI
Throws:
java.lang.Exception

normalize

public void normalize()
               throws java.lang.Exception
Specified by:
normalize in interface IURI
Throws:
java.lang.Exception

getFragment

public java.lang.String getFragment()
                             throws java.lang.Exception
Specified by:
getFragment in interface IURI
Throws:
java.lang.Exception

getEscapedFragment

public java.lang.String getEscapedFragment()
                                    throws java.lang.Exception
Specified by:
getEscapedFragment in interface IURI
Throws:
java.lang.Exception

getEscapedPath

public java.lang.String getEscapedPath()
                                throws java.lang.Exception
Specified by:
getEscapedPath in interface IURI
Throws:
java.lang.Exception

getPath

public java.lang.String getPath()
                         throws java.lang.Exception
Specified by:
getPath in interface IURI
Throws:
java.lang.Exception

isAbsoluteURI

public boolean isAbsoluteURI()
                      throws java.lang.Exception
Specified by:
isAbsoluteURI in interface IURI
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright (c) 2003 - Apache Software Foundation