public class UUOutputStream
extends java.io.FilterOutputStream
Constructor and Description |
---|
UUOutputStream(java.io.OutputStream out)
Default constructor.
|
UUOutputStream(java.io.OutputStream out,
java.lang.String filename)
Constructor with filename.
|
UUOutputStream(java.io.OutputStream out,
java.lang.String filename,
int mode)
Constructor with filename and mode.
|
public UUOutputStream(java.io.OutputStream out)
public UUOutputStream(java.io.OutputStream out, java.lang.String filename)
filename
- the filename to encode into the UU file.public UUOutputStream(java.io.OutputStream out, java.lang.String filename, int mode)
filename
- the filename to encode into the UU file.mode
- the file mode to encodepublic void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterOutputStream
java.io.IOException
public void write(int c) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void write(byte[] buf) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void write(byte[] buf, int off, int len) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException