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 FilterOutputStream
IOException
public void write(byte[] data) throws IOException
write
in class FilterOutputStream
IOException
public void write(int c) throws IOException
write
in class FilterOutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class FilterOutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.