public static void writeStringToFile ( File file , String content ) throws IOException { OutputStream outputStream = getOutputStream ( file ) ; outputStream . write ( content . getBytes ( ) ) ; }
Write string to file .