public class UUEncoderStream extends FilterOutputStream
out| 构造器和说明 |
|---|
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
|
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 在类中 FilterOutputStreamIOExceptionpublic void write(byte[] data)
throws IOException
write 在类中 FilterOutputStreamIOExceptionpublic void write(int c)
throws IOException
write 在类中 FilterOutputStreamIOExceptionpublic void flush()
throws IOException
flush 在接口中 Flushableflush 在类中 FilterOutputStreamIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 FilterOutputStreamIOExceptionCopyright © 2021 Oracle. All rights reserved.