public class UUEncoder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_MODE |
Constructor and Description |
---|
UUEncoder(java.lang.String name)
Constructor specifying a name for the encoded buffer, begin
line will be:
|
Modifier and Type | Method and Description |
---|---|
void |
encode(java.io.InputStream is,
java.io.OutputStream out)
UUEncode bytes from the input stream, and write them as text characters
to the output stream.
|
protected static final int DEFAULT_MODE
public UUEncoder(java.lang.String name)
begin 644 [NAME]
name
- the name of the encoded buffer.public void encode(java.io.InputStream is, java.io.OutputStream out) throws java.io.IOException
is
- the input stream.out
- the output stream.java.io.IOException
- if there is an error.