Package org.azd.helpers
Class URLHelper
java.lang.Object
org.azd.helpers.URLHelper
- Direct Known Subclasses:
Utils
Url helper class to encode the special characters in the url.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
URLHelper
public URLHelper()
-
-
Method Details
-
encodeSpace
Encode the space character in the given string- Parameters:
s
- input string value- Returns:
- the encoded string value
-
encodeSpecialChars
Encodes any special character in the given string- Parameters:
s
- input string value- Returns:
- he encoded string value
-
encodeSpecialWithSpace
Combine the two functionality above: encode and replace space characters after the fact with '%20'- Parameters:
s
- input string value- Returns:
- String encoded string value
-