|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.joe_e.charset.URLEncoding
public class URLEncoding
Class for converting strings to and from the
application/x-www-form-urlencoded
MIME format used for HTML
forms. Uses the UTF-8 character encoding, as specified by W3C. This class
contains static methods for converting strings between human-readable text
form and its corresponding encoding.
Method Summary | |
---|---|
static java.lang.String |
decode(java.lang.String segment)
URL decode a segment. |
static java.lang.String |
encode(java.lang.String value)
URL encode a value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String encode(java.lang.String value)
value
- The value to encode.
public static java.lang.String decode(java.lang.String segment)
segment
- The segment to decode.
|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.