org.eclipse.jetty.io
类 WriterOutputStream
java.lang.Object
java.io.OutputStream
org.eclipse.jetty.io.WriterOutputStream
- 所有已实现的接口:
- Closeable, Flushable
public class WriterOutputStream
- extends OutputStream
Wrap a Writer as an OutputStream.
When all you have is a Writer and only an OutputStream will do.
Try not to use this as it indicates that your design is a dogs
breakfast (JSP made me write it).
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_writer
protected final Writer _writer
_encoding
protected final String _encoding
WriterOutputStream
public WriterOutputStream(Writer writer,
String encoding)
WriterOutputStream
public WriterOutputStream(Writer writer)
close
public void close()
throws IOException
- 指定者:
- 接口
Closeable 中的 close - 覆盖:
- 类
OutputStream 中的 close
- 抛出:
IOException
flush
public void flush()
throws IOException
- 指定者:
- 接口
Flushable 中的 flush - 覆盖:
- 类
OutputStream 中的 flush
- 抛出:
IOException
write
public void write(byte[] b)
throws IOException
- 覆盖:
- 类
OutputStream 中的 write
- 抛出:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
- 覆盖:
- 类
OutputStream 中的 write
- 抛出:
IOException
write
public void write(int b)
throws IOException
- 指定者:
- 类
OutputStream 中的 write
- 抛出:
IOException
Copyright © 2013. All Rights Reserved.