public class UUEncoderStream extends FilterOutputStream
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
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
setNameMode(String name,
int mode)
Set up the buffer name and permission mode.
|
void |
write(byte[] data) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int c) |
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)
name
- the buffer namemode
- the permission modepublic 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 © 2019 JBoss by Red Hat. All rights reserved.