org.activeio.net
Class URISupport
java.lang.Object
org.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$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URISupport
public URISupport()
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 © -2009 The ActiveIO Project. All Rights Reserved.