Package ch.qos.logback.classic.pattern
Class ClassNameOnlyAbbreviator
- java.lang.Object
-
- ch.qos.logback.classic.pattern.ClassNameOnlyAbbreviator
-
- All Implemented Interfaces:
Abbreviator
public class ClassNameOnlyAbbreviator extends java.lang.Object implements Abbreviator
This abbreviator returns the class name from a fully qualified class name, removing the leading package name.
-
-
Constructor Summary
Constructors Constructor Description ClassNameOnlyAbbreviator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
abbreviate(java.lang.String fqClassName)
-
-
-
Method Detail
-
abbreviate
public java.lang.String abbreviate(java.lang.String fqClassName)
- Specified by:
abbreviate
in interfaceAbbreviator
-
-