View Single Post
  #2 (permalink)  
Old 04-04-2008, 10:00 AM
sanjeevtarar's Avatar
sanjeevtarar sanjeevtarar is offline
Senior Member
 
Join Date: Apr 2008
Location: Delhi(India)
Posts: 251
sanjeevtarar is on a distinguished road
hi

java.util.Properties property = null;

String propFile = "C:/temp/AppProperties.property";
FileInputStream fis = new FileInputStream(propFile) ;
property =new Properties();
property.load(fis);

// getting file name from properties
String fileName = property.getProperty("SAVE_FILE_NAME");


Sanjeev
Reply With Quote