|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.barracudamvc.plankton.http.HttpConverter
This class provides a simple series of static methods to convert a Map to a URL String and vica-versa
Field Summary | |
static gnu.regexp.RE |
dre1
|
static gnu.regexp.RE |
dre2
|
static gnu.regexp.RE |
ere1
|
static gnu.regexp.RE |
ere2
|
static char |
ESC_AMP
|
static char |
ESC_CHAR
|
protected static org.apache.log4j.Logger |
logger
|
Constructor Summary | |
HttpConverter()
|
Method Summary | |
static String |
cvtMapToURLString(Map map)
Convert the values in a Map to a URL String (ie. key1=val1&key2=val2&...) |
static String |
cvtMapToURLString(Map map,
String delimiter)
Convert the values in a Map to a URL String (ie. key1=val1&key2=val2&...). |
static Map |
cvtURLStringToMap(String paramStr)
Convert the values in a URL String (ie. key1=val1&key2=val2&...) to a Map of key/val pairs |
static Map |
cvtURLStringToMap(String paramStr,
String delimiter)
Convert the values in a URL String (ie. key1=val1&key2=val2&...) to a Map of key/val pairs. |
static String |
decode(String s)
Decode an encoded String - converts %& to & and %% to % |
static String |
encode(String s)
Encode a String - converts & to %& and % to %% |
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final org.apache.log4j.Logger logger
public static gnu.regexp.RE ere1
public static gnu.regexp.RE ere2
public static gnu.regexp.RE dre1
public static gnu.regexp.RE dre2
public static final char ESC_CHAR
public static final char ESC_AMP
Constructor Detail |
public HttpConverter()
Method Detail |
public static String cvtMapToURLString(Map map)
public static String cvtMapToURLString(Map map, String delimiter)
public static Map cvtURLStringToMap(String paramStr)
public static Map cvtURLStringToMap(String paramStr, String delimiter)
public static String encode(String s)
public static String decode(String s)
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |