java.lang.Object
com.flexstor.common.util.StringUtil
com.flexstor.common.io.xfile.parsers.XStringValidator
- public class XStringValidator
- extends com.flexstor.common.util.StringUtil
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XStringValidator
public XStringValidator()
decodeURLString
public static java.lang.String decodeURLString(java.lang.String sInput)
- Decodes a URL string, by replacing % with the actual character.
Please note that the slash, backslash, and colon are not being replaced by
this function, as this would screw up the URL.
Also, the blank space is not substituted because this could screw up the
XFile file path.
encodeURLString
public static java.lang.String encodeURLString(java.lang.String sInput)
- Encodes a URL string, by replacing specific characters by it %
representation.
Please note that the slash, backslash, and colon are not being replaced by
this function, as this would screw up the URL.
Also, the blank space is not substituted because this could screw up the
XFile file path.