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