Logback API
Version 0.9.8

ch.qos.logback.access.pattern
Class NAConverter

java.lang.Object
  extended by ch.qos.logback.core.pattern.Converter<E>
      extended by ch.qos.logback.core.pattern.FormattingConverter<E>
          extended by ch.qos.logback.core.pattern.DynamicConverter<AccessEvent>
              extended by ch.qos.logback.access.pattern.AccessConverter
                  extended by ch.qos.logback.access.pattern.NAConverter
All Implemented Interfaces:
ContextAware, LifeCycle

public class NAConverter
extends AccessConverter

Always returns the NA (not available) string which is "-" in the case of access conversions.

Author:
Ceki Gülcü

Field Summary
 
Fields inherited from class ch.qos.logback.access.pattern.AccessConverter
QUESTION_CHAR, SPACE_CHAR
 
Constructor Summary
NAConverter()
           
 
Method Summary
 String convert(AccessEvent accessEvent)
          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.access.pattern.AccessConverter
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
 
Methods inherited from class ch.qos.logback.core.pattern.DynamicConverter
getFirstOption, getOptionList, isStarted, setOptionList, start, startConverters, stop
 
Methods inherited from class ch.qos.logback.core.pattern.FormattingConverter
getFormattingInfo, setFormattingInfo, spacePad, write
 
Methods inherited from class ch.qos.logback.core.pattern.Converter
getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NAConverter

public NAConverter()
Method Detail

convert

public String convert(AccessEvent accessEvent)
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<AccessEvent>

Logback API
Version 0.9.8

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