public class JTextAreaWriter
extends java.io.Writer
| 构造器 | 说明 |
|---|---|
JTextAreaWriter(javax.swing.JTextArea ta) |
|
JTextAreaWriter(javax.swing.JTextArea ta,
int maxBuffSize) |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
close() |
|
void |
flush() |
overrides OutputStream.flush()
|
java.lang.String |
toString() |
returns the written string
|
void |
write(char[] cbuf,
int off,
int len) |
|
void |
write(int b) |
implements the stream: writes the byte to the string buffer
|
public JTextAreaWriter(javax.swing.JTextArea ta)
public JTextAreaWriter(javax.swing.JTextArea ta,
int maxBuffSize)
public java.lang.String toString()
toString 在类中 java.lang.Objectpublic void flush()
flush 在类中 java.io.Writerpublic void write(int b)
write 在类中 java.io.Writerpublic void write(char[] cbuf,
int off,
int len)
write 在类中 java.io.Writerpublic void close()
close 在类中 java.io.WriterCopyright © 2019. All rights reserved.