ch.qos.logback.classic.pattern
Class ClassNameOnlyAbbreviator

java.lang.Object
  extended by ch.qos.logback.classic.pattern.ClassNameOnlyAbbreviator
All Implemented Interfaces:
Abbreviator

public class ClassNameOnlyAbbreviator
extends Object
implements Abbreviator

This abbreviator returns the class name from a fully qualified class name, removing the leading package name.

Author:
Ceki Gülcü

Constructor Summary
ClassNameOnlyAbbreviator()
           
 
Method Summary
 String abbreviate(String fqClassName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassNameOnlyAbbreviator

public ClassNameOnlyAbbreviator()
Method Detail

abbreviate

public String abbreviate(String fqClassName)
Specified by:
abbreviate in interface Abbreviator


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