The ResourceBundle class is an abstract class in the java. You can provide your own subclass of ResourceBundle or use one of the subclass implementations, as in the case of PropertyResourceBundle or ListResourceBundle. We discuss each of these two classes in later sections of this chapter. For now, let's discuss some details of ResourceBundle . Resource bundles inherit from the ResourceBundle class and contain localized elements that are stored external to an application.
Resource bundles share a base name.
The base name SimpleResourceBundle might be selected because of the resources it contains. We talk about design considerations for resource bundles in the last section of this chapter. Locale information further differentiates a resource bundle. The exact naming convention for resource bundles is detailed in the next subsection. Example 4-1 is a simple subclass of ResourceBundle .