Class ClassNameAbbreviator


  • public class ClassNameAbbreviator
    extends java.lang.Object
    This is a copy of TargetLengthBasedClassNameAbbreviator used to avoid direct dependency on logback-classic (to be able to switch to log4j instead).
    Since:
    29.09.2020
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassNameAbbreviator​(int targetLength)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String abbreviate​(java.lang.String fqClassName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassNameAbbreviator

        public ClassNameAbbreviator​(int targetLength)
    • Method Detail

      • abbreviate

        public java.lang.String abbreviate​(java.lang.String fqClassName)