public class RepositoryPathEncoder extends Object
Constructor and Description |
---|
RepositoryPathEncoder() |
Modifier and Type | Method and Description |
---|---|
static String |
decodeRepositoryPath(String path) |
static String |
encode(String value)
Use this function to escape the "colonized" path for addition to a url.
|
static String |
encodeRepositoryPath(String path) |
static String |
encodeURIComponent(String value)
Encodes a string using the equivalent of a javascript's
encodeURIComponent |
public static String encode(String value)
value
- The colonized string (eg: ":public:Steel Wheels:File::WithColon")public static String encodeURIComponent(String value)
encodeURIComponent
value
- The String to be encoded