Package org.opennms.features.namecutter
Class NameCutter
- java.lang.Object
-
- org.opennms.features.namecutter.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)
-
-
-
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)
-
-