Revamp Rincl to extend Confound configuration interface.

Description

Since Rincl was launched, we have created a Confound library that has a Configuration interface, which is really just a generalized Resources interface. Put another way, Resources are not much more than just a configuration access to integers, Boolean values, etc. About the only thing that Resources adds are the two String getString(String key, Object... arguments) methods, which provide i18n formatting for retrieved strings.

Revamp Rincl so that Resources extend Configuration from io.confound.config. That way we can improve both interfaces at the same time going forward.

Environment

None

Activity

Show:
Garret Wilson
February 11, 2019, 9:35 PM

One ramification of this change, along with CONFOUND-15, is that resource bundle resources no longer support being backed by a resource bundle storing objects as-is instead of as strings. For example, a resource bundle storing a URI instance is not supported; only a resource bundle storing a string version of a URI, which will be converted to a URI instance as needed. This should make little difference in practice, as Rincl currently doesn't provide a way to load non-string resource bundles anyway.

Assignee

Garret Wilson

Reporter

Garret Wilson

Labels

None

Fix versions

Affects versions

Priority

Major
Configure