How to retrieve values
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Maria_Molina
Posted On:   Tuesday, July 23, 2002 06:13 AM

How do I retrieve the values of a Property File maintaining the insertion order ? Here, a part of my source code: Properties parametersList= new Properties(); File fileConf = new File("Parameters.properties"); if (fileConf.exists()) { FileInputStream in = new FileInputStream(fileConf); parametersList.load(in); in.close(); parametersList.list(System.out); } Thanks !    More>>


How do I retrieve the values of a Property File maintaining the insertion order ?


Here, a part of my source code:


			
Properties parametersList= new Properties();


File fileConf = new File("Parameters.properties");


if (fileConf.exists())

{

FileInputStream in = new FileInputStream(fileConf);

parametersList.load(in);



in.close();



parametersList.list(System.out);

}




Thanks !

   <<Less
About | Sitemap | Contact