Reading and Writing a Properties File // Read properties file. Properties properties = new Properties(); try { properties.load(new FileInputStream( "infilename")); } catch (IOException e) { } // Write properties file. try { properties.store(new FileOutputStream( "outfilename"), null); } catch (IOException e) { }