Interface StringTransformer
public interface StringTransformer
Functional interface for transforming a string.
Used to implement case sensitivity and case preservation.
Advanced users can implement this to obtain detailed control over case sensitivity and case preservation. Custom instances have to be passed as a configuration when building a file system.
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the regex flags used to achieve a compatible regex behavior.Transforms a string.
-
Method Details
-
transform
Transforms a string.- Parameters:
s
- the string to transform, notnull
- Returns:
- the transformed string, not
null
-
getRegexFlags
int getRegexFlags()Returns the regex flags used to achieve a compatible regex behavior.- Returns:
- the regex flags
- See Also:
-