Package de.uplanet.util
Class URIEncoder
java.lang.Object
de.uplanet.util.URIEncoder
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
encodeURIComponent
(CharSequence p_chseq) Encode an URI component as described in the ECMAScript Language Scecification, 5th edition, section 15.1.3.4.static String
encodeURIComponent
(CharSequence p_chseq, String p_strCharset) Encode an URI component as described in the ECMAScript Language Specification, 5th edition, section 15.1.3.4.static String
encodeURIComponent
(CharSequence p_chseq, Charset p_charset) Encode an URI component as described in the ECMAScript Language Specification, 5th edition, section 15.1.3.4.
-
Method Details
-
encodeURIComponent
Encode an URI component as described in the ECMAScript Language Scecification, 5th edition, section 15.1.3.4.The charset used for encoding is UTF-8.
- Parameters:
p_chseq
- The characters to be encoded.- Returns:
- The encoded characters.
-
encodeURIComponent
Encode an URI component as described in the ECMAScript Language Specification, 5th edition, section 15.1.3.4.- Parameters:
p_chseq
- The characters to be encoded.p_strCharset
- The character set to be used for encoding.- Returns:
- The encoded characters.
-
encodeURIComponent
Encode an URI component as described in the ECMAScript Language Specification, 5th edition, section 15.1.3.4.- Parameters:
p_chseq
- The characters to be encoded.p_charset
- The character set to be used for encoding.- Returns:
- The encoded characters.
-