public static void writeStringToFile(File file,String s,String charset) throws IOException {
  writeStringToFile(file,s,charset,false);
}

public static void writeStringToFile ( File file , String s , String charset ) throws IOException { writeStringToFile ( file , s , charset , false ) ; }
writes string to file .
