org.apache.struts2.dispatcher

## Class LocalizedMessage

- java.lang.Object
- - org.apache.struts2.dispatcher.LocalizedMessage

-     public class LocalizedMessage
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LocalizedMessage(Class clazz, String textKey, String defaultMessage, Object[] args)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `Object[]` | `getArgs()`
    `Class` | `getClazz()`
    `String` | `getDefaultMessage()`
    `String` | `getTextKey()`
    `int` | `hashCode()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LocalizedMessage

          public LocalizedMessage(Class clazz,
                                  String textKey,
                                  String defaultMessage,
                                  Object[] args)

  - ### Method Detail

    - #### getClazz

          public Class getClazz()

    - #### getTextKey

          public String getTextKey()

    - #### getDefaultMessage

          public String getDefaultMessage()

    - #### getArgs

          public Object[] getArgs()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.