hello, i want to write data in to text file like this format Number!Name!value!time Number1!Name1!value1!time1 ... ... i used fos = new FileOutputStream(filePath, true) and method used to print is fos.write((MyLine).getBytes()); its is printed as Number!Name!value!time Number1!Name1!value1!time1 ...... please help me...
posted 12 years ago
Looks like you just need to tack a newline on the end of each line you write.
or use a print writer of some kind that has writeln() method:
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi