List of utility methods to do Text File Write
void | WriteStringToFile(String toWrite, String filePath) Write String To File final FileOutputStream ostream = new FileOutputStream(filePath); try { ostream.write(toWrite.getBytes()); } finally { ostream.close(); |
void | writeStringToFile(String value, String path) write String To File final FileOutputStream fos = new FileOutputStream(path); fos.write(value.getBytes()); fos.close(); |