List of utility methods to do Properties Write
void | write(File dest, Properties props) write write(dest, propertiesToString(props)); |
void | writeAsJAR(File dest, String propsFileName, Properties props) write As JAR JarOutputStream out = new JarOutputStream( new FileOutputStream(dest)); JarEntry propertiesFile = new JarEntry(propsFileName); propertiesFile.setExtra(propertiesToString(props).getBytes()); out.putNextEntry(propertiesFile); out.close(); |