public class NullWriter extends Writer
| 构造器和说明 |
|---|
NullWriter() |
public void write(char[] cbuf,
int off,
int len)
throws IOException
write 在类中 WriterIOExceptionpublic void flush()
throws IOException
flush 在接口中 Flushableflush 在类中 WriterIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 WriterIOExceptionCopyright © 2018. All rights reserved.