FileDocCategorySizeDatePackage
HelloWorldResources.javaAPI DocExample378Fri Mar 30 00:07:20 BST 2001None

HelloWorldResources

public class HelloWorldResources extends Object

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

    ResourceBundle resources;

    try {
      resources = ResourceBundle.getBundle("MyData");
      System.out.println(resources.getString("Hi"));
    } catch (MissingResourceException mre) {
      System.err.println("MyData.properties not found");
    }