Enum Class PropertyFileUtil.PropertyFileUtilFileKindEnum

java.lang.Object
java.lang.Enum<PropertyFileUtil.PropertyFileUtilFileKindEnum>
jp.ecuacion.lib.core.util.PropertyFileUtil.PropertyFileUtilFileKindEnum
All Implemented Interfaces:
Serializable, Comparable<PropertyFileUtil.PropertyFileUtilFileKindEnum>, Constable
Enclosing class:
PropertyFileUtil

public static enum PropertyFileUtil.PropertyFileUtilFileKindEnum extends Enum<PropertyFileUtil.PropertyFileUtilFileKindEnum>
Holds kinds of property files.

The first argument of the enum value (like "application", "messages", ...) is called filePrefix, which is the file literally the prefix of the property files.
But in some reasons some properties file kind need to have multiple file prefixes so the second argument actualFilePrefixes needed.

actualFilePrefixes is a data type of String[][]. If you want to simply use multiple prefixes, it's realized by new String[][] {new String[] {messages1, messages2}}. With this prefix setting PropertyFileUtilValueGetter searches the key from files with these prefixes, and duplication of the key causes an error.

When you know messages1 and messages2 has duplication and if messages1 contains the key you don't want to search from messages2, it can be realized by this setting.
new String[][] {new String[] {messages1}, new String[] {messages2}}.
Outside array manipulates the priority of the property files.