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, setFilterpublic 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.Handlerpublic void setNullDelimited(boolean isNullDelimited)
protected void processPublish(java.util.logging.LogRecord record)
processPublish in class AbstractLogHandlerprotected void processFlush()
processFlush in class AbstractLogHandlerpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class AbstractLogHandler