Class InputEngineImpl

java.lang.Object
io.keikai.model.impl.sys.InputEngineImpl
All Implemented Interfaces:
InputEngine
Direct Known Subclasses:
InputEngineEx

public class InputEngineImpl extends Object implements InputEngine
smart input for numbers and dates.
Since:
3.5.0
Author:
Hawk
  • Field Details

  • Constructor Details

    • InputEngineImpl

      public InputEngineImpl()
  • Method Details

    • parseInput

      public InputResult parseInput(String editText, String formatPattern, InputParseContext context)
      Specified by:
      parseInput in interface InputEngine
    • isPercentageFormat

      public static boolean isPercentageFormat(String formatPattern)
      KEIKAI-0851: Check if the format pattern is a percentage format. Returns true if the format string contains an unquoted, unescaped '%' character.