Центр обновлений прокси-сервера: как работать с https-хранилищем bintray?

Вы можете использовать следующий код для добавления содержимого в файл:

 String fileName="/home/shriram/Desktop/Images/"+"test.txt";
  FileWriter fw=new FileWriter(fileName,true);    
  fw.write("here will be you content to insert or append in file");    
  fw.close(); 
  FileWriter fw1=new FileWriter(fileName,true);    
 fw1.write("another content will be here to be append in the same file");    
 fw1.close(); 
17
задан Alix Lourme 8 July 2015 в 14:47
поделиться