Compoze Software, Inc.

com.compoze.contact
Class ContactResources

java.lang.Object
  |
  +--com.compoze.contact.ContactResources

public class ContactResources
extends java.lang.Object

Provides access to the ContactResources for the Contact package. This class provides access to contact_resources.properties and provides a way to internationalize certain class in the Contact package.

contact_resources.properties can be found in contact.jar at com.compoze.contact.contact_resources.properties.


Constructor Summary
ContactResources()
           
 
Method Summary
static java.util.ResourceBundle i()
          Gets the singleton instance of the ContactResources.
static java.util.ResourceBundle i(java.util.Locale locale)
          Gets the singleton instance of the ContactResources.
static void main(java.lang.String[] args)
          Exerciser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactResources

public ContactResources()
Method Detail

i

public static java.util.ResourceBundle i()
Gets the singleton instance of the ContactResources. The default locale is used.
Returns:
a ContactResources for the contact package
Throws:
MissingResourceException - if the resource bundle could not be found

i

public static java.util.ResourceBundle i(java.util.Locale locale)
Gets the singleton instance of the ContactResources.
Parameters:
locale - the locale to use when retrieving the resource bundle
Returns:
a ContactResources for the contact package
Throws:
MissingResourceException - if the resource bundle could not be found

main

public static void main(java.lang.String[] args)
Exerciser.
Parameters:
args - main arguments - first argument should be the key to get the value for

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.