public class Base64 extends Object
Copyright (c) SAP AG 2001-2003
Constructor and Description |
---|
Base64() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static String encode(String buffer)
buffer
- TBD: Description of the incoming method parameterpublic static String encode(String buffer, String encoding) throws UnsupportedEncodingException
buffer
- to encodeencoding
- to useUnsupportedEncodingException
public static String encode(byte[] buffer)
buffer
- to encodepublic static String encode(byte[] buffer, int linelen)
buffer
- to encodelinelen
- to usepublic static byte[] decode(String buffer) throws WcmException
buffer
- TBD: Description of the incoming method parameterWcmException
- Exception raised in failure situationpublic static String decodeString(String buffer) throws WcmException
buffer
- TBD: Description of the incoming method parameterWcmException
- Exception raised in failure situationAccess 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 2018 SAP AG Complete Copyright Notice