Android Utililty Methods Properties Write

List of utility methods to do Properties Write

Description

The list of methods to do Properties Write are organized into topic(s).

Method

voidwrite(File dest, Properties props)
write
write(dest, propertiesToString(props));
voidwriteAsJAR(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();