Class NameCutter


  • public class NameCutter
    extends java.lang.Object
    Author:
    Markus Neumann
    • Constructor Summary

      Constructors 
      Constructor Description
      NameCutter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getDictionary()  
      void setDictionary​(java.util.Map<java.lang.String,​java.lang.String> dictionary)  
      java.lang.String trimByCamelCase​(java.lang.String name, java.lang.Integer maxLength)  
      java.lang.String trimByDictionary​(java.lang.String name)  
      • Methods inherited from class java.lang.Object

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

      • NameCutter

        public NameCutter()
    • Method Detail

      • trimByCamelCase

        public java.lang.String trimByCamelCase​(java.lang.String name,
                                                java.lang.Integer maxLength)
      • trimByDictionary

        public java.lang.String trimByDictionary​(java.lang.String name)
      • getDictionary

        public java.util.Map<java.lang.String,​java.lang.String> getDictionary()
      • setDictionary

        public void setDictionary​(java.util.Map<java.lang.String,​java.lang.String> dictionary)