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 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 © 2018 JBoss by Red Hat. All rights reserved.