|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextWriter
A TextWriter provides a character-based stream used by a Text Publishers as a target for outputting log records.
Nested Class Summary | |
---|---|
static class |
TextWriter.STDERR
A TextWriter implementation which writes to standard error. |
static class |
TextWriter.STDOUT
A TextWriter implementationwhich writes to standard out. |
static class |
TextWriter.STREAM
A TextWriter implementation which writes to a given output stream. |
Method Summary | |
---|---|
void |
flush()
Flushes any buffered contents of the output stream. |
long |
getBytesWritten()
Retrieves the number of bytes written by this writer. |
void |
shutdown()
Releases any resources held by the writer. |
void |
writeRecord(java.lang.String record)
Writes a text record to the output stream. |
Method Detail |
---|
void writeRecord(java.lang.String record)
record
- - the record to write.void flush()
void shutdown()
long getBytesWritten()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |