public abstract class AbstractLoggingEventEncoderFormatter extends AbstractNativeClipboardFormatter
Modifier | Constructor and Description |
---|---|
protected |
AbstractLoggingEventEncoderFormatter(LilithActionId id,
de.huxhorn.sulky.codec.Encoder<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.
|
getAccelerator, getDescription, getMnemonic, getName, isNative
protected AbstractLoggingEventEncoderFormatter(LilithActionId id, de.huxhorn.sulky.codec.Encoder<LoggingEvent> encoder)
public boolean isCompatible(java.lang.Object object)
BasicFormatter
object
- the input to both isCompatible(...) and toString(...).public java.lang.String toString(java.lang.Object object)
BasicFormatter
object
- the input to both isCompatible(...) and toString(...).