|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.loggers.TextWriter.STREAM
public static class TextWriter.STREAM
A TextWriter implementation which writes to a given output stream.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.opends.server.loggers.TextWriter |
|---|
TextWriter.STDERR, TextWriter.STDOUT, TextWriter.STREAM |
| Constructor Summary | |
|---|---|
TextWriter.STREAM(java.io.OutputStream outputStream)
Creates a new text writer that will write to the provided 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextWriter.STREAM(java.io.OutputStream outputStream)
outputStream - The output stream to which| Method Detail |
|---|
public void writeRecord(java.lang.String record)
writeRecord in interface TextWriterrecord - - the record to write.public void flush()
flush in interface TextWriterpublic void shutdown()
shutdown in interface TextWriterpublic long getBytesWritten()
getBytesWritten in interface TextWriter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||