|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.provider.pki.URLDecoder
This class implements a method that decodes a URL-encoded string
of MIME-type "x-www-form-urlencoded
".
Copyright (c) RSA Security Inc., 1999-2000. All rights reserved.
Constructor Summary |
|
URLDecoder()
|
Method Summary |
|
static String |
decode(String encodedString)
Decodes a URL-encoded string back to the original string. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public URLDecoder()
Method Detail |
public static String decode(String encodedString) throws PKIException
a
' through 'z
' converted to
themselves
A
' through 'Z
' converted to
themselves
0
' through '9
' converted to
themselves
+
' converted to a space character
%xy
", where xy is the two-digit
hexadecimal representation of the lower 8-bits of the character
Parameters
encodedString | A |
Returns
String
containing the original string.
Throws
PKIException
- If URL-decoding fails.See Also
URLEncoder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |