public abstract class AbstractLoggingEventEncoderFormatter extends java.lang.Object implements ClipboardFormatter
Modifier | Constructor and Description |
---|---|
protected |
AbstractLoggingEventEncoderFormatter(de.huxhorn.sulky.codec.Encoder<de.huxhorn.lilith.data.logging.LoggingEvent> encoder) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompatible(java.lang.Object object)
Returns true, if this formatter is able to format the given object into a String.
|
java.lang.String |
toString(java.lang.Object object)
Returns the object formatted into a String or null if this formatter is unable to format the object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccelerator, getDescription, getName, isNative
protected AbstractLoggingEventEncoderFormatter(de.huxhorn.sulky.codec.Encoder<de.huxhorn.lilith.data.logging.LoggingEvent> encoder)
public boolean isCompatible(java.lang.Object object)
BasicFormatter
isCompatible
in interface BasicFormatter
object
- the input to both isCompatible(...) and toString(...).public java.lang.String toString(java.lang.Object object)
BasicFormatter
toString
in interface BasicFormatter
object
- the input to both isCompatible(...) and toString(...).