Class EmbeddedParameterUtil.Options

java.lang.Object
jp.ecuacion.lib.core.util.EmbeddedParameterUtil.Options
Enclosing class:
EmbeddedParameterUtil

public static class EmbeddedParameterUtil.Options extends Object
Provides options.
  • Constructor Details

    • Options

      public Options()
  • Method Details

    • setIgnoresEmergenceOfEndSymbolOnly

      public EmbeddedParameterUtil.Options setIgnoresEmergenceOfEndSymbolOnly(boolean ignoresEmergenceOfEndSymbolOnly)
      Sets ignoresEndSymbolShowsUpBeforeStartSymbolDoes.

      When it's true, StringFormatIncorrectException is not thrown and the format incorrection is just ignored.

      It's supposed to used in the following cases:

          - string     : Error! {+item_names:user.id} value incorrect. (value: {0})
          - startSymbol: {+item_names:
          - endSymbol  : }
          

      The point is, {0} is not replaced in this procedure. It's maybe replace in other procedures.
      In this case the emergence of endSymbol needs to be ignored.

      Parameters:
      ignoresEmergenceOfEndSymbolOnly - ignoresEmergenceOfEndSymbolOnly