java.io.Closeable, java.io.Flushable, java.lang.AutoCloseablepublic class UUEncoderStream
extends java.io.FilterOutputStream
| Constructor | 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
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
flush() |
|
void |
setNameMode(java.lang.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(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)
name - the buffer namemode - the permission modepublic 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.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.io.FilterOutputStreamjava.io.IOExceptionCopyright © 2018 Oracle. All rights reserved.