This package provides classes for handling the {@link com.top_logic.util.Resources resources} used for internationalization.

Locating resources

The following classes locate the resources used and this data for the other classes.

ResourceFinder
This interface defines the methods for locating the resources used.
ResourceFileFinder
A concrete ResourceFinder locating resource files defined in the top-logic.xml.
ResourceSetData
Holds the information collected by a ResourceFinder. This information contains the resource sets, the locales, and the resource per set/locale.

Edit resources

The following classes provide methods to view and edit the resources.

gui.ResourceTreeModel
An instance of DefaultIDTreeModel holding a tree representation of the resource keys. Keys are interpreted as dot-separated paths.
gui.ResourceTreeRendere
An instance of HTreeCellRenderer for rendering the resource tree.
ResourceEditorController
Provides static methods for the JSPs used for editing the resources (jsp.admin.resources.*).

Updating resources

The following classes provide methods for updating the resources.

ResourceUpdate
The ResourceUpdate holds the new/changed key-value pairs per resource set and locale.
ResourceUpdater
This interface defines the methods for updating the resources given via a ResourceSetData with the data provided via a ResourceUpdate.
ResourceFileUpdater
A concrete ResourceUpdater for updating reources stored in propertie files.