org.jboss.portal.common.http
Class QueryStringParser

java.lang.Object
  extended by org.jboss.portal.common.http.QueryStringParser

public class QueryStringParser
extends java.lang.Object

Version:
$Revision: 7379 $
Author:
Julien Viet

Constructor Summary
QueryStringParser()
           
 
Method Summary
static java.util.Map parseQueryString(java.lang.String queryString)
          Parse the query string and build an unmodifiable parameter map of it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryStringParser

public QueryStringParser()
Method Detail

parseQueryString

public static java.util.Map parseQueryString(java.lang.String queryString)
                                      throws java.lang.IllegalArgumentException
Parse the query string and build an unmodifiable parameter map of it.

Parameters:
queryString - the non null query string
Returns:
a map
Throws:
java.lang.IllegalArgumentException - if the query string is null