public final class ToNetASCIIOutputStream
extends java.io.FilterOutputStream
| 构造器和说明 |
|---|
ToNetASCIIOutputStream(java.io.OutputStream output)
Creates a ToNetASCIIOutputStream instance that wraps an existing
OutputStream.
|
public ToNetASCIIOutputStream(java.io.OutputStream output)
output - The OutputStream to wrap.public void write(int ch)
throws java.io.IOException
write 在类中 java.io.FilterOutputStreamch - The byte to write.java.io.IOException - If an error occurs while writing to the underlying
stream.public void write(byte[] buffer)
throws java.io.IOException
write 在类中 java.io.FilterOutputStreambuffer - The byte array to write.java.io.IOException - If an error occurs while writing to the underlying
stream.public void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
write 在类中 java.io.FilterOutputStreambuffer - The byte array to write.offset - The offset into the array at which to start copying data.length - The number of bytes to write.java.io.IOException - If an error occurs while writing to the underlying
stream.