public class Encoder
extends java.lang.Object
Constructor and Description |
---|
Encoder() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
encode(byte[] aBuffer)
A 'streamless' version of encode that simply takes a buffer of
bytes and returns a string containing the encoded buffer.
|
void |
encode(byte[] aBuffer,
java.io.OutputStream aStream)
Encode the buffer in aBuffer and write the encoded
result to the OutputStream aStream.
|
void |
encode(java.io.InputStream inStream,
java.io.OutputStream outStream)
Encode bytes from the input stream, and write them as text characters
to the output stream.
|
java.lang.String |
encodeBuffer(byte[] aBuffer)
A 'streamless' version of encode that simply takes a buffer of
bytes and returns a string containing the encoded buffer.
|
void |
encodeBuffer(byte[] aBuffer,
java.io.OutputStream aStream)
Encode the buffer in aBuffer and write the encoded
result to the OutputStream aStream.
|
void |
encodeBuffer(java.io.InputStream inStream,
java.io.OutputStream outStream)
Encode bytes from the input stream, and write them as text characters
to the output stream.
|
public void encode(java.io.InputStream inStream, java.io.OutputStream outStream) throws java.io.IOException
java.io.IOException
public void encode(byte[] aBuffer, java.io.OutputStream aStream) throws java.io.IOException
java.io.IOException
public java.lang.String encode(byte[] aBuffer)
public void encodeBuffer(java.io.InputStream inStream, java.io.OutputStream outStream) throws java.io.IOException
java.io.IOException
public void encodeBuffer(byte[] aBuffer, java.io.OutputStream aStream) throws java.io.IOException
java.io.IOException
public java.lang.String encodeBuffer(byte[] aBuffer)