Package de.exlll.configlib
Interface NameFormatter
- All Known Implementing Classes:
NameFormatters
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Implementations of this interface format the names of configuration elements.
-
Method Summary
-
Method Details
-
format
Formats the name of a configuration element.- Parameters:
name- the name that is formatted- Returns:
- formatted name
- Throws:
NullPointerException- ifnameis null
-
apply
Formats the name of a configuration element.- Specified by:
applyin interfaceFunction<String,String> - Parameters:
name- the name that is formatted- Returns:
- formatted name
- Throws:
NullPointerException- ifnameis null
-