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

## org.apache.slide.util
Class Messages

    java.lang.Object
      org.apache.slide.util.Messages

public class Messages
extends java.lang.Object

Messages resource bundle manager.

Version:
  $Revision: 1.8 $ $Date: 2004/07/28 09:34:29 $

Nested Class Summary
`(package private) static class` | `Messages.EmptyResourceBundle`

Field Summary
`static java.lang.String` | `ResourceName` Resource filename.

Constructor Summary
`Messages()`

Method Summary
`static java.lang.String` | `format(java.lang.String message, java.lang.Object arg1)` Format a message.
`static java.lang.String` | `format(java.lang.String message, java.lang.Object[] args)` Format a message.
`static java.lang.String` | `format(java.lang.String message, java.lang.Object arg1, java.lang.Object arg2)` Format a message.
`static java.lang.String` | `format(java.lang.String message, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)` Format a message.
`static java.lang.String` | `message(java.lang.String message)` Fetch a message from the resource bundle.
`static void` | `setLocale(java.util.Locale locale)` Set current locale.

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

Field Detail

### ResourceName

    public static final java.lang.String ResourceName

  Resource filename.

  See Also:
    Constant Field Values

Constructor Detail

### Messages

    public Messages()

Method Detail

### format

    public static java.lang.String format(java.lang.String message,
                                          java.lang.Object arg1)

  Format a message.

  Parameters:
    `message` - Message to format
    `arg1` - Argument 1

### format

    public static java.lang.String format(java.lang.String message,
                                          java.lang.Object arg1,
                                          java.lang.Object arg2)

  Format a message.

  Parameters:
    `message` - Message to format
    `arg1` - Argument 1
    `arg2` - Argument 2

### format

    public static java.lang.String format(java.lang.String message,
                                          java.lang.Object arg1,
                                          java.lang.Object arg2,
                                          java.lang.Object arg3)

  Format a message.

  Parameters:
    `message` - Message to format
    `arg1` - Argument 1
    `arg2` - Argument 2
    `arg3` - Argument 3

### format

    public static java.lang.String format(java.lang.String message,
                                          java.lang.Object[] args)

  Format a message.

  Parameters:
    `message` - Message to format
    `args` - Argument array

### message

    public static java.lang.String message(java.lang.String message)

  Fetch a message from the resource bundle.

  Parameters:
    `message` - Id of the message if the bundle

### setLocale

    public static void setLocale(java.util.Locale locale)

  Set current locale.

  Parameters:
    `locale` - Current locale

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