public final class UTF8Writer extends Writer
protected final IOContext _context
public UTF8Writer(IOContext ctxt, OutputStream out)
public Writer append(char c) throws IOException
append 在接口中 Appendableappend 在类中 WriterIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 WriterIOExceptionpublic void flush()
throws IOException
flush 在接口中 Flushableflush 在类中 WriterIOExceptionpublic void write(char[] cbuf)
throws IOException
write 在类中 WriterIOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write 在类中 WriterIOExceptionpublic void write(int c)
throws IOException
write 在类中 WriterIOExceptionpublic void write(String str) throws IOException
write 在类中 WriterIOExceptionpublic void write(String str, int off, int len) throws IOException
write 在类中 WriterIOException