gnu.mail.util
Class UUOutputStream
FilterOutputStream
gnu.mail.util.UUOutputStream
public class UUOutputStream
extends FilterOutputStream
UU encoding output stream.
UUOutputStream(OutputStream out) - Default constructor.
|
UUOutputStream(OutputStream out, String filename) - Constructor with filename.
|
UUOutputStream(OutputStream out, String filename, int mode) - Constructor with filename and mode.
|
UUOutputStream
public UUOutputStream(OutputStream out)
Default constructor.
This writes a UU encoded file with the filename "file".
UUOutputStream
public UUOutputStream(OutputStream out,
String filename)
Constructor with filename.
filename
- the filename to encode into the UU file.
UUOutputStream
public UUOutputStream(OutputStream out,
String filename,
int mode)
Constructor with filename and mode.
filename
- the filename to encode into the UU file.mode
- the file mode to encode
close
public void close()
throws IOException
write
public void write(byte[] buf)
throws IOException
write
public void write(byte[] buf,
int off,
int len)
throws IOException
write
public void write(int c)
throws IOException