Class StringTransformers

java.lang.Object
com.github.marschall.memoryfilesystem.StringTransformers

public final class StringTransformers extends Object
Constant definitions for the standard StringTransformers.
  • Field Details

  • Constructor Details

    • StringTransformers

      public StringTransformers()
  • Method Details

    • caseInsensitive

      public StringTransformer caseInsensitive()
      Creates a case insensitive transformer for the current locale.
      Returns:
      the transformer
    • caseInsensitive

      public static StringTransformer caseInsensitive(Locale locale)
      Creates a case insensitive transformer for the given locale.
      Parameters:
      locale - the locale
      Returns:
      the transformer
    • caseInsensitiveMacOSNative

      public static StringTransformer caseInsensitiveMacOSNative(Locale locale)
      Creates a case insensitive transformer for native macOS (NFD) for the given locale.
      Parameters:
      locale - the locale
      Returns:
      the transformer
    • caseInsensitiveMacOSJvm

      public static StringTransformer caseInsensitiveMacOSJvm(Locale locale)
      Creates a case insensitive transformer for macOS as presented by the JVM (NFC) for the given locale.
      Parameters:
      locale - the locale
      Returns:
      the transformer