public class UserRidCodec extends Object
The following character ~ / ? \ will be encoded with "~u1" "~u2" "~u3" "~u4" In case of the string doesn't have to be encoded it will be returned untouched. A encoded string will be signed with '~~' at the beginning of the string. Copyright (c) SAP AG 2001-2006
| Constructor and Description |
|---|
UserRidCodec() |
| Modifier and Type | Method and Description |
|---|---|
static String |
Decode(String quotedURI)
Decode the given URI.
|
static String |
Encode(String unquotedURI)
Encode the given URI.
|
static boolean |
encodingNecessary(String uri)
Checks if the given uri contains character that hav to be encoded
|
static boolean |
isEncoded(String uri)
Checks if the given uri is encoded or not
|
public static boolean encodingNecessary(String uri)
uri - Uri to checkpublic static boolean isEncoded(String uri)
uri - Uri to checkpublic static String Encode(String unquotedURI)
unquotedURI - URI to encode| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2017 SAP AG Complete Copyright Notice