org.apache.activemq.util
Class URISupport
java.lang.Object
org.apache.activemq.util.URISupport
public class URISupport
- extends java.lang.Object
- Version:
- $Revision$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URISupport
public URISupport()
parseQuery
public static java.util.Map parseQuery(java.lang.String uri)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
parseParamters
public static java.util.Map parseParamters(java.net.URI uri)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
removeQuery
public static java.net.URI removeQuery(java.net.URI uri)
throws java.net.URISyntaxException
- Removes any URI query from the given uri
- Throws:
java.net.URISyntaxException
createURIWithQuery
public static java.net.URI createURIWithQuery(java.net.URI uri,
java.lang.String query)
throws java.net.URISyntaxException
- Creates a URI with the given query
- Throws:
java.net.URISyntaxException
parseComposite
public static URISupport.CompositeData parseComposite(java.net.URI uri)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
stripPrefix
public static java.lang.String stripPrefix(java.lang.String value,
java.lang.String prefix)
stripScheme
public static java.net.URI stripScheme(java.net.URI uri)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
createQueryString
public static java.lang.String createQueryString(java.util.Map options)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
createRemainingURI
public static java.net.URI createRemainingURI(java.net.URI originalURI,
java.util.Map params)
throws java.net.URISyntaxException
- Creates a URI from the original URI and the remaining paramaters
- Throws:
java.net.URISyntaxException
changeScheme
public static java.net.URI changeScheme(java.net.URI bindAddr,
java.lang.String scheme)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
checkParenthesis
public static boolean checkParenthesis(java.lang.String str)
indexOfParenthesisMatch
public int indexOfParenthesisMatch(java.lang.String str)
Copyright © 2009 Apache Software Foundation. All Rights Reserved.