com.atlassian.bamboo.utils
Class EscapeChars

java.lang.Object
  extended by com.atlassian.bamboo.utils.EscapeChars

public class EscapeChars
extends java.lang.Object

This class provides various character escaping utility methods,


Constructor Summary
EscapeChars()
           
 
Method Summary
static java.lang.String forURL(java.lang.String queryString)
          Used to ensure that HTTP query strings are in proper form, by escaping special characters such as spaces.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EscapeChars

public EscapeChars()
Method Detail

forURL

public static java.lang.String forURL(java.lang.String queryString)
Used to ensure that HTTP query strings are in proper form, by escaping special characters such as spaces.

Parameters:
queryString - The string that need to be escaped
Returns:
The escaped version of the queryString.


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.