org.jscience.util.logging
Class StringBufferLog

java.lang.Object
  extended by org.jscience.util.logging.AbstractLogWriter
      extended by org.jscience.util.logging.StringBufferLog
All Implemented Interfaces:
Filter<LogEntry>, LogWriter

public class StringBufferLog
extends AbstractLogWriter

StringBufferLog writes log messages into a StringBuffer.


Field Summary
protected  java.lang.StringBuffer buffer
          DOCUMENT ME!
 
Fields inherited from class org.jscience.util.logging.AbstractLogWriter
filter, formatter
 
Constructor Summary
StringBufferLog(java.lang.StringBuffer buffer)
          Creates a new StringBufferLog object.
 
Method Summary
 java.lang.StringBuffer getStringBuffer()
          DOCUMENT ME!
 void writeLogEntry(java.lang.Object pattern)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.util.logging.AbstractLogWriter
accept, getLogFilter, getLogFormatter, setLogFilter, setLogFormatter, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buffer

protected java.lang.StringBuffer buffer
DOCUMENT ME!

Constructor Detail

StringBufferLog

public StringBufferLog(java.lang.StringBuffer buffer)
Creates a new StringBufferLog object.

Parameters:
buffer - DOCUMENT ME!
Method Detail

getStringBuffer

public java.lang.StringBuffer getStringBuffer()
DOCUMENT ME!

Returns:
DOCUMENT ME!

writeLogEntry

public void writeLogEntry(java.lang.Object pattern)
DOCUMENT ME!

Specified by:
writeLogEntry in class AbstractLogWriter
Parameters:
pattern - DOCUMENT ME!