Package org.duracloud.common.web
Class EncodeUtil
java.lang.Object
org.duracloud.common.web.EncodeUtil
-
Field Summary
Fields -
Method Summary
-
Field Details
-
ENCODING
- See Also:
-
-
Method Details
-
urlEncode
Encodes characters within a string to allow them to be used within a URL. Note that the entire URL should not be passed to this method as it will encode characters like ':' and '/'.- Parameters:
toEncode- String to encode- Returns:
- encoded string
-
urlDecode
-