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.commons.vfs.util
Class Messages

    java.lang.Object
      org.apache.commons.vfs.util.Messages

public class Messages
extends Object

Formats messages.

Version:
  $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Mi, 29 Nov 2006) $
Author:
  Adam Murdoch

Method Summary
`static String` | `getString(String code)` Formats a message.
`static String` | `getString(String code, Object param)` Formats a message.
`static String` | `getString(String code, Object[] params)` Formats a message.

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

Method Detail

### getString

    public static String getString(String code)

  Formats a message.

  Parameters:
    `code` - The message code.
  Returns:
    The formatted message.

### getString

    public static String getString(String code,
                                   Object param)

  Formats a message.

  Parameters:
    `code` - The message code.
    `param` - The message parameter.
  Returns:
    The formatted message.

### getString

    public static String getString(String code,
                                   Object[] params)

  Formats a message.

  Parameters:
    `code` - The message code.
    `params` - The message parameters.
  Returns:
    The formatted message.

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 © 2002-2006 The Apache Software Foundation. All Rights Reserved.