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 Type
    Method
    Description
    int
    Returns the regex flags used to achieve a compatible regex behavior.
    Transforms a string.
  • Method Details

    • transform

      String transform(String s)
      Transforms a string.
      Parameters:
      s - the string to transform, not null
      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: