public class UUOutputStream
extends java.io.FilterOutputStream
out| 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close () |
void |
write (byte[] buf) |
void |
write (byte[] buf,
int off,
int len) |
void |
write (int c) |
flushclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic 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.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void write(int c) throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void write(byte[] buf) throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void write(byte[] buf, int off, int len) throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOException