In Java I want to write a String to end of a specific line in file. The simple way:
BufferedWriter bw = new BufferedWriter(new FileWriter(file,true));
bw.write(String);
does not work because it always writes at the end of file. Is there a simple way?