|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
ds.ov2.front.Host_testframe.Buffered_string_writer
static class Host_testframe.Buffered_string_writer
Character stream that collects the contents in a buffer in memory that can be retrieved later.
| Field Summary | |
|---|---|
private StringBuilder |
contents
Contents of the Buffered_string_writer. |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
Host_testframe.Buffered_string_writer()
Empty constructor. |
|
| Method Summary | |
|---|---|
void |
close()
Empty close. |
void |
flush()
Empty flush. |
String |
get_contents()
Returns the current contents of the stream. |
void |
write(char[] cbuf,
int off,
int len)
Append a portion of an array to the memory buffer. |
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private StringBuilder contents
| Constructor Detail |
|---|
public Host_testframe.Buffered_string_writer()
| Method Detail |
|---|
public void close()
close in interface Closeableclose in class Writerpublic void flush()
flush in interface Flushableflush in class Writer
public void write(char[] cbuf,
int off,
int len)
write in class Writercbuf - array of charactersoff - starting offsetlen - lengthpublic String get_contents()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||