Class TextBundle

java.lang.Object
com.webcodepro.applecommander.util.TextBundle
Direct Known Subclasses:
StorageBundle, UiBundle

public class TextBundle extends Object
Manage the user-interface specific ResourceBundle. Initially, this is to actually clean up the text. Ultimately, it should allow AppleCommander to be translated into other languages.

Note that TextBundle serves as a generic resource for the util package. Other groupings are used and will have their own subclasses for TextBundle.

  • Constructor Details

    • TextBundle

      protected TextBundle()
      Do not allow other classes to instantiate this class.
  • Method Details

    • getInstance

      public static TextBundle getInstance()
      Get the singleton instance of the UiBundle.
    • initialize

      protected void initialize()
      Initialize the UiBundle.
    • get

      public String get(String name)
      Retrieve a value for the given resource name.
    • format

      public String format(String name, Object... values)
      Format the given resource name with multiple values.