public class PropertiesListResolver
extends java.lang.Object
PropertiesListResolver finds all properties files from the given root directory
and save it to a key value list with the locales.| Constructor and Description |
|---|
PropertiesListResolver(@NonNull java.io.File rootDir,
@NonNull java.util.Locale defaultLocale)
Instantiates a new
PropertiesListResolver. |
| Modifier and Type | Method and Description |
|---|---|
void |
resolve()
Resolves the properties file from the given root directory and put the result to the
properties list with KeyValuePair objects as properties file as key and the
locale string code as value.
|
public PropertiesListResolver(@NonNull
@NonNull java.io.File rootDir,
@NonNull
@NonNull java.util.Locale defaultLocale)
PropertiesListResolver.rootDir - the root dirdefaultLocale - the default localepublic void resolve()
throws java.io.IOException
java.io.IOException - Signals that an I/O exception has occurred.