Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

org.openquark.gems.client.browser
Class BrowserMessages

java.lang.Object
  extended by org.openquark.gems.client.browser.BrowserMessages

public final class BrowserMessages
extends Object

This class holds on to an instance of the message bundle which can be used by other classes within the browser.* package.

This class should not be instantiated.

Author:
Peter Cardwell

Field Summary
static org.openquark.util.Messages instance
          The public singleton instance for accessing the message bundle.
 
Method Summary
static String getString(String key)
          Returns the string referenced by the given key in the resource bundle.
static String getString(String key, Object arg0)
          Returns the string referenced by the given, with the argument placeholders replaced with item arg0.
static String getString(String key, Object[] argv)
          Returns the string referenced by the given, with the argument placeholders replaced with items present in the given argument array.
static String getString(String key, Object arg0, Object arg1)
          Returns the string referenced by the given, with the argument placeholders replaced with items arg0 and arg1.
static boolean hasString(String key)
          Returns true if the given key exists in the resource bundle embedded in the given message info object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final org.openquark.util.Messages instance
The public singleton instance for accessing the message bundle.

Method Detail

getString

public static String getString(String key)
Returns the string referenced by the given key in the resource bundle.

Parameters:
key -
Returns:
String

getString

public static String getString(String key,
                               Object arg0)
Returns the string referenced by the given, with the argument placeholders replaced with item arg0.

Parameters:
key -
arg0 -
Returns:
String

getString

public static String getString(String key,
                               Object arg0,
                               Object arg1)
Returns the string referenced by the given, with the argument placeholders replaced with items arg0 and arg1.

Parameters:
key -
arg0 -
arg1 -
Returns:
String

getString

public static String getString(String key,
                               Object[] argv)
Returns the string referenced by the given, with the argument placeholders replaced with items present in the given argument array.

Parameters:
key -
argv -
Returns:
String

hasString

public static boolean hasString(String key)
Returns true if the given key exists in the resource bundle embedded in the given message info object.

Parameters:
key -
Returns:
boolean

Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

Copyright © 2007 Business Objects. All rights reserved.