ch.qos.logback.core.pattern
Class LiteralConverter<E>

java.lang.Object
  extended by ch.qos.logback.core.pattern.Converter<E>
      extended by ch.qos.logback.core.pattern.LiteralConverter<E>

public final class LiteralConverter<E>
extends Converter<E>


Constructor Summary
LiteralConverter(String literal)
           
 
Method Summary
 String convert(E o)
          The convert method is responsible for extracting data from the event and storing it for later use by the write method.
 
Methods inherited from class ch.qos.logback.core.pattern.Converter
getNext, setNext, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteralConverter

public LiteralConverter(String literal)
Method Detail

convert

public String convert(E o)
Description copied from class: Converter
The convert method is responsible for extracting data from the event and storing it for later use by the write method.

Specified by:
convert in class Converter<E>


Copyright © 2005-2013 QOS.ch. All Rights Reserved.