// (c) F. Merciol
// Plus d'informations sur http://m3101.merciol.fr
package io;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;
 
public class ReadProp {
		public static void main(String[] args) {
				try {
						Properties prop = new Properties();
						prop.load (new FileInputStream ("demo.properties"));
						for (Object key : prop.keySet ())
								System.out.println (key+"="+prop.getProperty ((String)key));
				} catch (FileNotFoundException e) {
				} catch (IOException e) {
				}
		}
}
