public class Base64Encoder extends FilterOutputStream
out| Constructor and Description |
|---|
Base64Encoder(OutputStream out)
Constructs a new Base64 encoder that writes output to the given
OutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the stream, this MUST be called to ensure proper padding is written
to the end of the output stream.
|
static String |
encode(String unencoded)
Returns the encoded form of the given unencoded string.
|
void |
write(byte[] b,
int off,
int len)
Writes the given byte array to the output stream in an encoded form.
|
void |
write(int b)
Writes the given byte to the output stream in an encoded form.
|
flush, writepublic Base64Encoder(OutputStream out)
out - the output streampublic void write(int b)
throws IOException
write in class FilterOutputStreamb - TBD: Description of the incoming method parameterIOException - if an I/O error occurspublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamb - the data to be writtenoff - the start offset of the datalen - the length of the dataIOException - if an I/O error occurspublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOException - if an I/O error occurs| 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 2021 SAP SE Complete Copyright Notice