pl.bristleback.server.bristle.utils
Class StringUtil

java.lang.Object
  extended by pl.bristleback.server.bristle.utils.StringUtil

public final class StringUtil
extends java.lang.Object

This class is a part of Stripes Framework, version 1.5, www.stripesframework.org. Class is modified by Wojciech Niemiec. Provides utility methods for manipulating and parsing Strings.

Since:
Stripes 1.4.2
Author:
Tim Fennell

Field Summary
static char COMMA
           
static char DOT
           
static char LEFT_BRACKET
           
static char RIGHT_BRACKET
           
 
Method Summary
static java.lang.String urlDecode(java.lang.String value)
          URL-decodes value using the UTF-8 charset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOT

public static final char DOT
See Also:
Constant Field Values

COMMA

public static final char COMMA
See Also:
Constant Field Values

LEFT_BRACKET

public static final char LEFT_BRACKET
See Also:
Constant Field Values

RIGHT_BRACKET

public static final char RIGHT_BRACKET
See Also:
Constant Field Values
Method Detail

urlDecode

public static java.lang.String urlDecode(java.lang.String value)
URL-decodes value using the UTF-8 charset. Using this method eliminates the need for a try/catch since UTF-8 is guaranteed to exist.

See Also:
URLDecoder.decode(String, String)


Copyright © 2011. All Rights Reserved.