public class UUEncoderStream
extends java.io.FilterOutputStream
| Modifier and Type | Field and Description |
|---|---|
protected int |
mode |
protected java.lang.String |
name |
| Constructor and Description |
|---|
UUEncoderStream(java.io.OutputStream out)
Create a UUencoder that encodes the specified input stream
|
UUEncoderStream(java.io.OutputStream out,
java.lang.String name)
Create a UUencoder that encodes the specified input stream
|
UUEncoderStream(java.io.OutputStream out,
java.lang.String name,
int mode)
Create a UUencoder that encodes the specified input stream
|
public UUEncoderStream(java.io.OutputStream out)
out - the output streampublic UUEncoderStream(java.io.OutputStream out,
java.lang.String name)
out - the output streamname - Specifies a name for the encoded bufferpublic UUEncoderStream(java.io.OutputStream out,
java.lang.String name,
int mode)
out - the output streamname - Specifies a name for the encoded buffermode - Specifies permission mode for the encoded bufferpublic void setNameMode(java.lang.String name,
int mode)
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void write(byte[] data)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void write(int c)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterOutputStreamjava.io.IOExceptionCopyright © 2013 Oracle. All Rights Reserved.