Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.openjpa.lib.util
Class Localizer.Message

    java.lang.Object
      org.apache.openjpa.lib.util.Localizer.Message

Enclosing class:
  Localizer

    public static class Localizer.Message

extends Object

A `Message` can provide a localized message via the `getMessage()` method call, and can also provide the original key, package, and substitution array that were used to assemble the message.

Method Summary
`String` | `getKey()` The unique key for the localized message.
`String` | `getMessage()` The localized message.
`String` | `getPackageName()`
`Object[]` | `getSubstitutions()` Substitutions inserted into the message.
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Method Detail

### getMessage

    public String getMessage()

  The localized message.

### getKey

    public String getKey()

  The unique key for the localized message.

### getSubstitutions

    public Object[] getSubstitutions()

  Substitutions inserted into the message.

### getPackageName

    public String getPackageName()

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.