|
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.http.Base64
public class Base64
Yet another base64 implementation.
Copyright (c) SAP AG 2001-2003
| Constructor Summary | |
|---|---|
Base64()
|
|
| Method Summary | |
|---|---|
static byte[] |
decode(String buffer)
Base64 decode the string in the buffer according to RFC 2045. |
static String |
decodeString(String buffer)
Base64 decode the string in the buffer according to RFC 2045. |
static String |
encode(byte[] buffer)
Base64 encode the bytes in buffer according to RFC 2045. |
static String |
encode(byte[] buffer,
int linelen)
Base64 encode the bytes in buffer. |
static String |
encode(String buffer)
Base64 encode the string in buffer according to RFC 2045. |
static String |
encode(String buffer,
String encoding)
Base64 encode the string in buffer according to RFC 2045 with specified character encoding. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Base64()
| Method Detail |
|---|
public static String encode(String buffer)
buffer - TBD: Description of the incoming method parameter
public static String encode(String buffer,
String encoding)
throws UnsupportedEncodingException
buffer - to encodeencoding - to use
UnsupportedEncodingExceptionpublic static String encode(byte[] buffer)
buffer - to encode
public static String encode(byte[] buffer,
int linelen)
buffer - to encodelinelen - to use
public static byte[] decode(String buffer)
throws WcmException
buffer - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation
public static String decodeString(String buffer)
throws WcmException
buffer - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation| 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 | |||||||||