|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.ByteArrayOutputStream
|
+--com.solarmetric.rd.log.LogOutputStream
Many standard components log to OutputStreams.
This wrapper class extends the ByteArrayOutputStream
class and writes all given data to an underlying Log instance
whenever it is flushed and the internally held byte array contains a
newline.
| Field Summary |
| Fields inherited from class java.io.ByteArrayOutputStream |
buf, count |
| Fields inherited from interface com.solarmetric.rd.log.LogConstants |
DEBUG, ERROR, FATAL, INFO, TRACE, WARN |
| Constructor Summary | |
LogOutputStream(org.apache.commons.logging.Log log,
int level)
Constructor. |
|
| Method Summary | |
void |
flush()
|
| Methods inherited from class java.io.ByteArrayOutputStream |
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo |
| Methods inherited from class java.io.OutputStream |
write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LogOutputStream(org.apache.commons.logging.Log log,
int level)
log - the log to log tolevel - the level to log at| Method Detail |
public void flush()
throws java.io.IOException
flush in class java.io.OutputStreamjava.io.IOException
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||