com.ibm.openpages.api.configuration

## Interface ITextFormatter

-     public interface ITextFormatter

  Interface that allows you to customize messages, typically for producing error messages and application-level labels.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `bind(java.util.List<java.lang.String> arguments)` Binds the provided arguments to the message template to produce a formattted message.
    `int` | `getArgumentCount()` Returns the number of arguments that can be bound to this message template.
    `java.lang.String` | `toString()`

- - ### Method Detail

    - #### getArgumentCount

          int getArgumentCount()

      Returns the number of arguments that can be bound to this message template.

    - #### bind

          java.lang.String bind(java.util.List<java.lang.String> arguments)

      Binds the provided arguments to the message template to produce a formattted message.
      Parameters:
        `arguments` - list of arguments to bind.

    - #### toString

          java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2022. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.