Class CaseMap

java.lang.Object
com.ibm.icu.text.CaseMap
Direct Known Subclasses:
CaseMap.Fold, CaseMap.Lower, CaseMap.Title, CaseMap.Upper

public abstract class CaseMap extends Object
Low-level case mapping options and methods. Immutable. "Setters" return instances with the union of the current and new options set. This class is not intended for public subclassing.
  • Field Details

    • internalOptions

      @Deprecated protected int internalOptions
      Deprecated.
      This API is ICU internal only.
  • Method Details

    • toLower

      public static CaseMap.Lower toLower()
      Returns:
      Lowercasing object with default options.
    • toUpper

      public static CaseMap.Upper toUpper()
      Returns:
      Uppercasing object with default options.
    • toTitle

      public static CaseMap.Title toTitle()
      Returns:
      Titlecasing object with default options.
    • fold

      public static CaseMap.Fold fold()
      Returns:
      Case folding object with default options.
    • omitUnchangedText

      public abstract CaseMap omitUnchangedText()
      Returns an instance that behaves like this one but omits unchanged text when case-mapping with Edits.
      Returns:
      an options object with this option.