org.codehaus.activemq.util
Class URIHelper

java.lang.Object
  extended byorg.codehaus.activemq.util.URIHelper

public class URIHelper
extends Object

Some URI based helper methods.

Version:
$Revision: 1.3 $

Constructor Summary
URIHelper(String path)
          Create URIHelper with a path
 
Method Summary
protected static void addKeyValuePair(Map answer, String pair)
           
static String getLastQuery(URI uri)
           
 String getNext()
           
 boolean hasNext()
           
static Map parseQuery(String query)
          Parsers the query string of the URI into a map of key-value pairs
static Map parseQuery(URI uri)
          Parsers the query string of the URI into a map of key-value pairs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URIHelper

public URIHelper(String path)
Create URIHelper with a path

Parameters:
path -
Method Detail

parseQuery

public static Map parseQuery(URI uri)
Parsers the query string of the URI into a map of key-value pairs


parseQuery

public static Map parseQuery(String query)
Parsers the query string of the URI into a map of key-value pairs


getLastQuery

public static String getLastQuery(URI uri)

addKeyValuePair

protected static void addKeyValuePair(Map answer,
                                      String pair)

hasNext

public boolean hasNext()

getNext

public String getNext()


Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.