public class UUEncoder extends Object
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_MODE |
Constructor and Description |
---|
UUEncoder(String name)
Constructor specifying a name for the encoded buffer, begin
line will be:
|
Modifier and Type | Method and Description |
---|---|
void |
encode(InputStream is,
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(String name)
begin 644 [NAME]
name
- the name of the encoded buffer.public void encode(InputStream is, OutputStream out) throws IOException
is
- the input stream.out
- the output stream.IOException
- if there is an error.