H
Hayward Hulick
It appears that Java enums are not of much use when Internationalization
(I18n) is a concern. The values are hardcoded and can't be changed without
recompiling. While variables could be added to include the I18n information
in the enum class, all related methods and variables would have to be
re-coded for each enum since enums can't be subclassed. Can anyone suggest
a way around this problem? If not, I guess I'll just have to create my own
class with static final values.
Hayward Hulick
(I18n) is a concern. The values are hardcoded and can't be changed without
recompiling. While variables could be added to include the I18n information
in the enum class, all related methods and variables would have to be
re-coded for each enum since enums can't be subclassed. Can anyone suggest
a way around this problem? If not, I guess I'll just have to create my own
class with static final values.
Hayward Hulick