org.apache.maven.plugin.ide

Class Messages

class Messages extends Object

Version: $Id: Messages.java 390686 2006-04-01 15:39:33Z fgiust $

Author: Fabrizio Giustina

Method Summary
static StringgetString(String key)
Returns a string from the bundle.
static StringgetString(String key, Object[] params)
Returns a string from the bundle, formatting it using provided params.
static StringgetString(String key, Object param)
Returns a string from the bundle, formatting it using provided param.

Method Detail

getString

public static String getString(String key)
Returns a string from the bundle.

Parameters: key message key

Returns: message value or !key! if key is not found

getString

public static String getString(String key, Object[] params)
Returns a string from the bundle, formatting it using provided params.

Parameters: key message key params MessageFormat arguments

Returns: message value or !key! if key is not found

getString

public static String getString(String key, Object param)
Returns a string from the bundle, formatting it using provided param.

Parameters: key message key param MessageFormat arguments

Returns: message value or !key! if key is not found

Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.