public class StreamHandler extends AbstractLogHandler
Constructor and Description |
---|
StreamHandler() |
StreamHandler(WriteStream os) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Test for equality.
|
int |
hashCode()
Returns the hash code.
|
protected void |
processFlush() |
protected void |
processPublish(java.util.logging.LogRecord record)
Publishes the record.
|
void |
setFormatter(java.util.logging.Formatter formatter)
Sets the formatter.
|
void |
setNullDelimited(boolean isNullDelimited) |
void |
setTimestamp(java.lang.String timestamp)
Sets the timestamp.
|
java.lang.String |
toString() |
close, flush, getFilter, printMessage, publish, setFilter
public StreamHandler()
public StreamHandler(WriteStream os)
public void setTimestamp(java.lang.String timestamp)
public void setFormatter(java.util.logging.Formatter formatter)
setFormatter
in class java.util.logging.Handler
public void setNullDelimited(boolean isNullDelimited)
protected void processPublish(java.util.logging.LogRecord record)
processPublish
in class AbstractLogHandler
protected void processFlush()
processFlush
in class AbstractLogHandler
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class AbstractLogHandler