| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private int | |
| private XMLStreamWriter | |
| private static final char[] | pem_array
This array maps the characters to their 6 bit values |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Base64EncoderStream(XMLStreamWriter outWriter, OutputStream out)
Create a BASE64 encoder that encodes the specified input stream |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. Forces any buffered output bytes to be encoded out to the stream and closes this output stream |
| private void | |
| public void | flush()
Overrides java. Implements java. Flushes this output stream and forces any buffered output bytes to be encoded out to the stream. |
| public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. Encodes |
| public void | write(byte[]
the data to be written. b)Overrides java. Encodes |
| public void | write(int
the c)byte.Overrides java. Encodes the specified |
| buffer | back to summary |
|---|---|
| private byte[] buffer | |
| bufsize | back to summary |
|---|---|
| private int bufsize | |
| outWriter | back to summary |
|---|---|
| private XMLStreamWriter outWriter | |
| pem_array | back to summary |
|---|---|
| private static final char[] pem_array This array maps the characters to their 6 bit values | |
| Base64EncoderStream | back to summary |
|---|---|
| public Base64EncoderStream(OutputStream out) | |
| Base64EncoderStream | back to summary |
|---|---|
| public Base64EncoderStream(XMLStreamWriter outWriter, OutputStream out) Create a BASE64 encoder that encodes the specified input stream | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Forces any buffered output bytes to be encoded out to the stream and closes this output stream
| |
| encode | back to summary |
|---|---|
| private void encode() throws IOException | |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Overrides java. Implements java. Flushes this output stream and forces any buffered output bytes to be encoded out to the stream.
| |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Encodes
| |
| write | back to summary |
|---|---|
| public void write(byte[] b) throws IOException Overrides java. Encodes
| |
| write | back to summary |
|---|---|
| public void write(int c) throws IOException Overrides java. Encodes the specified
| |