Package at.gv.egovernment.moaspss.util
Class URLEncoder
java.lang.Object
at.gv.egovernment.moaspss.util.URLEncoder
Translates a string into mime format "x-www-form-urlencoded". Provides a
function missing in JDK 1.3.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
URLEncoder
public URLEncoder()
-
-
Method Details
-
encode
Translates a string into x-www-form-urlencoded format.- Parameters:
s- the string to be translatedencoding- the encoding to use- Returns:
- the translated string
- Throws:
UnsupportedEncodingException- when the desired encoding is not supported
-