Note that no data is written out to the Category until the stream is flushed or closed.
LoggingOutputStream.java の 45 行で定義されています。
Public メソッド | |
LoggingOutputStream (Category cat, Priority priority) throws IllegalArgumentException | |
void | close () |
void | write (final int b) throws IOException |
void | flush () |
Static Public 変数 | |
final int | DEFAULT_BUFFER_LENGTH = 2048 |
Protected 変数 | |
boolean | hasBeenClosed = false |
byte[] | buf |
int | count |
Category | category |
Priority | priority |
Static Protected 変数 | |
final String | LINE_SEPERATOR |
Private メソッド | |
LoggingOutputStream () | |
void | reset () |
Private 変数 | |
int | bufLength |
|
LoggingOutputStream.java の 80 行で定義されています。
|
|
Creates the LoggingOutputStream to flush to the given Category.
参照先 org.objectweb.cjdbc.common.util.LoggingOutputStream.buf, org.objectweb.cjdbc.common.util.LoggingOutputStream.bufLength, org.objectweb.cjdbc.common.util.LoggingOutputStream.category, org.objectweb.cjdbc.common.util.LoggingOutputStream.count, org.objectweb.cjdbc.common.util.LoggingOutputStream.DEFAULT_BUFFER_LENGTH, と org.objectweb.cjdbc.common.util.LoggingOutputStream.priority.
|
|
Closes this output stream and releases any system resources associated with this stream. The general contract of 参照先 org.objectweb.cjdbc.common.util.LoggingOutputStream.flush(), と org.objectweb.cjdbc.common.util.LoggingOutputStream.hasBeenClosed.
|
|
Flushes this output stream and forces any buffered output bytes to be written out. The general contract of 参照先 org.objectweb.cjdbc.common.util.LoggingOutputStream.buf, org.objectweb.cjdbc.common.util.LoggingOutputStream.category, org.objectweb.cjdbc.common.util.LoggingOutputStream.count, org.objectweb.cjdbc.common.util.LoggingOutputStream.LINE_SEPERATOR, org.objectweb.cjdbc.common.util.LoggingOutputStream.priority, と org.objectweb.cjdbc.common.util.LoggingOutputStream.reset(). 参照元 org.objectweb.cjdbc.common.util.LoggingOutputStream.close().
|
|
LoggingOutputStream.java の 201 行で定義されています。 参照先 org.objectweb.cjdbc.common.util.LoggingOutputStream.count. 参照元 org.objectweb.cjdbc.common.util.LoggingOutputStream.flush().
|
|
Writes the specified byte to this output stream. The general contract for
参照先 org.objectweb.cjdbc.common.util.LoggingOutputStream.buf, org.objectweb.cjdbc.common.util.LoggingOutputStream.bufLength, org.objectweb.cjdbc.common.util.LoggingOutputStream.count, org.objectweb.cjdbc.common.util.LoggingOutputStream.DEFAULT_BUFFER_LENGTH, と org.objectweb.cjdbc.common.util.LoggingOutputStream.hasBeenClosed.
|
|
The internal buffer where data is stored. LoggingOutputStream.java の 56 行で定義されています。 参照元 org.objectweb.cjdbc.common.util.LoggingOutputStream.flush(), org.objectweb.cjdbc.common.util.LoggingOutputStream.LoggingOutputStream(), と org.objectweb.cjdbc.common.util.LoggingOutputStream.write(). |
|
Remembers the size of the buffer for speed. LoggingOutputStream.java の 66 行で定義されています。 参照元 org.objectweb.cjdbc.common.util.LoggingOutputStream.LoggingOutputStream(), と org.objectweb.cjdbc.common.util.LoggingOutputStream.write(). |
|
The category to write to. LoggingOutputStream.java の 74 行で定義されています。 参照元 org.objectweb.cjdbc.common.util.LoggingOutputStream.flush(), と org.objectweb.cjdbc.common.util.LoggingOutputStream.LoggingOutputStream(). |
|
The number of valid bytes in the buffer. This value is always in the range 参照元 org.objectweb.cjdbc.common.util.LoggingOutputStream.flush(), org.objectweb.cjdbc.common.util.LoggingOutputStream.LoggingOutputStream(), org.objectweb.cjdbc.common.util.LoggingOutputStream.reset(), と org.objectweb.cjdbc.common.util.LoggingOutputStream.write(). |
|
The default number of bytes in the buffer. =2048 LoggingOutputStream.java の 70 行で定義されています。 参照元 org.objectweb.cjdbc.common.util.LoggingOutputStream.LoggingOutputStream(), と org.objectweb.cjdbc.common.util.LoggingOutputStream.write(). |
|
Used to maintain the contract of close(). LoggingOutputStream.java の 52 行で定義されています。 参照元 org.objectweb.cjdbc.common.util.LoggingOutputStream.close(), と org.objectweb.cjdbc.common.util.LoggingOutputStream.write(). |
|
初期値: LoggingOutputStream.java の 47 行で定義されています。 参照元 org.objectweb.cjdbc.common.util.LoggingOutputStream.flush(). |
|
The priority to use when writing to the Category. LoggingOutputStream.java の 78 行で定義されています。 参照元 org.objectweb.cjdbc.common.util.LoggingOutputStream.flush(), と org.objectweb.cjdbc.common.util.LoggingOutputStream.LoggingOutputStream(). |