public class ConstantsLoader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CONSTANTS_PROPERTIES_FILENAME |
Constructor and Description |
---|
ConstantsLoader() |
Modifier and Type | Method and Description |
---|---|
private static void |
load(java.lang.String filename)
Loads all the constants in the constants.properties file and puts the values
in the Constants class, so that the rest of the application can use them.
|
static void |
loadAllConstants() |
private static void |
read(java.util.Properties properties) |
private static final java.lang.String CONSTANTS_PROPERTIES_FILENAME
private static void load(java.lang.String filename)
filename
- public static void loadAllConstants()
private static void read(java.util.Properties properties)