-
public class ConfigHelperCaches Config readers and prevents reloading of files.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ConfigHelperINSTANCE
-
Method Summary
Modifier and Type Method Description final ConfigReadergetConfig(File file)Retrieves or creates a config reader for the given file. final ConfigReadergetConfig(String file)Returns a config based on the location of the given string. final ConfigReadergetConfig(Resource resource)Returns a config reader based on the spring resource given. -
-
Method Detail
-
getConfig
final ConfigReader getConfig(File file)
Retrieves or creates a config reader for the given file.
- Parameters:
file- The file to find a ConfigReader for.
-
getConfig
final ConfigReader getConfig(String file)
Returns a config based on the location of the given string.
- Parameters:
file- The string to find a config reader by.
-
getConfig
final ConfigReader getConfig(Resource resource)
Returns a config reader based on the spring resource given.
- Parameters:
resource- The resource to find a config on.
-
-
-
-