Class CapitalizeFirstLettersModifier
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.external.services.labelToConcept.stringModifiers.CapitalizeFirstLettersModifier
- All Implemented Interfaces:
StringModifier
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns a unique name of the modifier.modifyString
(String stringToBeModified) String modification method.
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
delimiter
-
-
Constructor Details
-
CapitalizeFirstLettersModifier
Constructor- Parameters:
delimiter
- The delimiter that is to be used. Every character after the delimiter (+ the very first character) will be upper-cased.
-
-
Method Details
-
modifyString
Description copied from interface:StringModifier
String modification method.- Specified by:
modifyString
in interfaceStringModifier
- Parameters:
stringToBeModified
- The string which shall be modified.- Returns:
- Modified String.
-
getName
Description copied from interface:StringModifier
Returns a unique name of the modifier. This can be used to create unique keys for instance.- Specified by:
getName
in interfaceStringModifier
- Returns:
- Name of the modifier.
-