com.googlecode.charts4j
Class UrlUtil

java.lang.Object
  extended by com.googlecode.charts4j.UrlUtil

public final class UrlUtil
extends Object

Small URL utility class.

Author:
Julien Chastang (julien.c.chastang at gmail dot com)

Method Summary
static String normalize(String s)
          A method that reformats the URL so that the parameters appear in alphabetical order.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

normalize

public static String normalize(String s)
A method that reformats the URL so that the parameters appear in alphabetical order. This is useful for comparing URL strings in unit tests, for instance.

Parameters:
s - String to be normalized
Returns:
Normalized string