Support resource bundle custom file extensions

This commit allows to configure custom file
extensions in ReloadableResourceBundleMessageSource
thanks to a new setFileExtensions setter.

Combined with setPropertiesPersister, it allows
custom implementations supporting any kind of
property file.

Closes gh-18990
This commit is contained in:
Sébastien Deleuze
2023-08-03 11:35:52 +02:00
parent ad80b94e14
commit c942c04aa0
4 changed files with 66 additions and 11 deletions

View File

@@ -0,0 +1,2 @@
code1=message1
code2=message2