Hi all Is it possible to write a .txt file in Java with lines?
Gorgeously I have to write a file in embedded mode, for example there are up to 4 lines:
file .txt 1 item1 item2 item3 item4 < / Pre> When the files reach the 4 line, it can not be allowed to be written on it and a new file is generated
file .txt 2 item5 item6 ... . Thanks
I do not know that one for it The library is API, but it's not very difficult to write 'yourself'. When you open the file to write, you can read the number of lines and then they can be written, rolling it as it is necessary
using YOu RandomAccessFile to read and write a pass
Comments
Post a Comment