I am reading from a file using this
String strLine = inputFile.readLine();
This file is an xml and so the first character in the file is "<".
When I write the string back to another file using
FileOutputStream, the first character alone is not written.
One work around I can think of is appending the "<" first to the file before continuing to write the file using outputstream, which I guess is not the right thing to do
Is there any proper way to fix this problem?
Thank u!