How to read properties file in Java.
Reading properties file in Java is much easier than you might have thought. Following example illustrates one simple way of reading properties from a properties file. Let’s say we need to read from myConfig.properties file. The properties file has following entries. Directory = C:/prodFiles/ NumberOfFiles = 25 Extension = java Here is the java code […]