Class MultiResourceBundleControl

java.lang.Object
java.util.ResourceBundle.Control
io.github.jy95.fds.common.bundle.MultiResourceBundleControl

public class MultiResourceBundleControl extends ResourceBundle.Control
A custom ResourceBundle.Control implementation that aggregates multiple ResourceBundles. This class facilitates the creation of a MultiResourceBundle by combining dependent ResourceBundles.
Author:
jy95
  • Constructor Details

    • MultiResourceBundleControl

      public MultiResourceBundleControl(String baseName, String... dependentBaseNames)
      Constructs a MultiResourceBundleControl with the specified base name and dependent base names.
      Parameters:
      baseName - the base name of the primary ResourceBundle.
      dependentBaseNames - the base names of additional ResourceBundles to aggregate.
  • Method Details