FileDocCategorySizeDatePackage
SimpleResourceBundleExample.javaAPI DocExample475Sun Jan 07 15:33:56 GMT 2001None

SimpleResourceBundleExample

public class SimpleResourceBundleExample extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

    try {
      ResourceBundle rb = ResourceBundle.getBundle("SimpleResourceBundle");

      System.out.println(rb.getString("AMMessage"));
      System.out.println(rb.getString("PMMessage"));

    } catch (MissingResourceException mre) {
      mre.printStackTrace();
    }