org.activeio.net
Class URISupport

java.lang.Object
  extended byorg.activeio.net.URISupport

public class URISupport
extends Object

The URISupport class provides a few static methods that provides a few usefull operations to manipulate URIs.

Version:
$Revision$

Constructor Summary
URISupport()
           
 
Method Summary
static URI changeFragment(URI bindAddr, String fragment)
           
static URI changeHost(URI bindAddr, String host)
           
static URI changePath(URI bindAddr, String path)
           
static URI changePort(URI bindAddr, int port)
           
static URI changeQuery(URI bindAddr, String query)
           
static URI changeScheme(URI bindAddr, String scheme)
           
static URI changeUserInfo(URI bindAddr, String userInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URISupport

public URISupport()
Method Detail

changePort

public static URI changePort(URI bindAddr,
                             int port)
                      throws URISyntaxException
Throws:
URISyntaxException

changeScheme

public static URI changeScheme(URI bindAddr,
                               String scheme)
                        throws URISyntaxException
Throws:
URISyntaxException

changeUserInfo

public static URI changeUserInfo(URI bindAddr,
                                 String userInfo)
                          throws URISyntaxException
Throws:
URISyntaxException

changeHost

public static URI changeHost(URI bindAddr,
                             String host)
                      throws URISyntaxException
Throws:
URISyntaxException

changePath

public static URI changePath(URI bindAddr,
                             String path)
                      throws URISyntaxException
Throws:
URISyntaxException

changeQuery

public static URI changeQuery(URI bindAddr,
                              String query)
                       throws URISyntaxException
Throws:
URISyntaxException

changeFragment

public static URI changeFragment(URI bindAddr,
                                 String fragment)
                          throws URISyntaxException
Throws:
URISyntaxException


Copyright © -2007 The ActiveIO Project. All Rights Reserved.