Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.deegree.graphics.charts
Class Messages

    java.lang.Object
      org.deegree.graphics.charts.Messages

    public class Messages

extends Object

i118n class for error messages

Version:
  $Revision: 1.1 $, $Date: 2008-03-07 14:49:52 $
Author:
  Moataz Elmasry, last edited by: $Author: elmasry $

Constructor Summary
`Messages()`

Method Summary
`static String` | `get(Locale loc, String key, Object... arguments)`
`static String` | `get(String key, Object... arguments)` Alias for #getMessage.
`static String` | `getMessage(String key, Object... arguments)` Returns the message assigned to the passed key.
`static String` | `getString(String key)`

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

Constructor Detail

### Messages

    public Messages()

Method Detail

### get

    public static String get(Locale loc,
                             String key,
                             Object... arguments)

  Parameters:
    `loc` - the locale to be used
    `key` - to get
    `arguments` - to fill in the message
  Returns:
    the localized message

### get

    public static String get(String key,
                             Object... arguments)

  Alias for #getMessage.

  Parameters:
    `key` -
    `arguments` -
  Returns:
    the message

### getMessage

    public static String getMessage(String key,
                                    Object... arguments)

  Returns the message assigned to the passed key. If no message is assigned, an error message will be returned that indicates the missing key.

  Parameters:
    `key` -
    `arguments` -
  Returns:
    the message assigned to the passed key
  See Also:
    `for conventions on string formatting and escape characters.`

### getString

    public static String getString(String key)

  Parameters:
    `key` -
  Returns:
    String

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org