PropertyUtils

public final class PropertyUtils(source)

A utility class for reading properties from files located in src/main/resources/.

Functions

Link copied to clipboard
public static boolean getBooleanProperty(String path, String key)
Returns the value of property key in file specified by path located in src/main/resources/.
Link copied to clipboard
public static char getCharProperty(String path, String key)
Returns the value of property key in file specified by path located in src/main/resources/.
Link copied to clipboard
public static double getDoubleProperty(String path, String key)
Returns the value of property key in file specified by path located in src/main/resources/.
Link copied to clipboard
public static int getIntProperty(String path, String key)
Returns the value of property key in file specified by path located in src/main/resources/.
Link copied to clipboard
public static long getLongProperty(String path, String key)
Returns the value of property key in file specified by path located in src/main/resources/.
Link copied to clipboard
public static Properties getProperties(String path)
Returns the Properties for the file specified by path located in src/main/resources/.
Link copied to clipboard
public static String getStringProperty(String path, String key)
Returns the value of property key in file specified by path located in src/main/resources/.