Class ModifiablePropertiesResourceBundle

  • Direct Known Subclasses:
    EditableResourceBundle

    public abstract class ModifiablePropertiesResourceBundle
    extends ModifiableResourceBundle

    Wraps the resources with XHTML and scripts to allow the modification of the resource bundle contents directly through the web interface. Also adds an indicator when the resource need to be verified. Verification is required when any other locale has a modified time greater than the verified time of this locale.

    The properties file should have the same name as this class, including any language or locale. For instance, class com.aoindustries.swing.ApplicationResources_ja would load its properties from com/aoindustries/swing/ApplicationResources_ja.properties.

    Idea: Occasionally check sourceFile and reload properties if externally modified.

    Author:
    AO Industries, Inc.