FilterOutputStream | +--gnu.mail.util.UUEncoderStream
java.io.FilterOutputStream
int | Permission mode of file. |
String | Name of file to be uuencoded. |
UUEncoderStream(OutputStream stream) Create a new UU-Encoding stream with the default name "encoder.buf" with the permission mode 644. |
UUEncoderStream(OutputStream stream, String name) Create a new UU-Encoding stream with the default name permission mode 644. |
UUEncoderStream(OutputStream stream, String name, int mode) Create a new UU-Encoding stream. |
void | close() Close stream. |
void | flush() Flush encoding buffer. |
void | setNameMode(String name, int mode) Set the name and mode for this uu encoded stream. |
void | write(byte[] bytes, int offset, int length) Write bytes to encoding stream. |
void | write(byte[] bytes) Write bytes to stream. |
void | write(int b) Write a byte to the stream. |
protected int mode
protected String name
public UUEncoderStream(OutputStream stream, String name, int mode)
public UUEncoderStream(OutputStream stream, String name)
public UUEncoderStream(OutputStream stream)
public void close()
- IO Exception occurredpublic void flush()
- IO Exception occurredpublic void setNameMode(String name, int mode)
public void write(byte[] bytes, int offset, int length)
- IO Exception occurredpublic void write(byte[] bytes)
- IO Exception occurredpublic void write(int b)
- IO Exception occurred