Skip to main content

Posts

Showing posts with the label Read Properties file
Read Properties file using java   package com.pukhraj.blog; import java.io.FileInputStream; import java.util.Properties; public class ReadPropertiesFile {         public static void main(String[] args) {                 Properties prop = new Properties();                 try {                 FileInputStream in = new FileInputStream("PropertiesFilePath");                          prop.load(in);                         String name = prop.getProperty("name");                         String address = prop.getProperty("address");                         String city = prop...