|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.util.uri.UserRidCodec
public class UserRidCodec
Utility class for decoding/encoding item names to fit for the cm store.
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 Summary | |
|---|---|
UserRidCodec()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserRidCodec()
| Method Detail |
|---|
public static boolean encodingNecessary(String uri)
uri - Uri to check
public static boolean isEncoded(String uri)
uri - Uri to check
public static String Encode(String unquotedURI)
unquotedURI - URI to encode
public static String Decode(String quotedURI)
quotedURI - encoded URI
| 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
|
|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||