FileOutputStream > int > FileInputStream
Hi people, I have a server with FTP. Now there is a textfile on my server. In the textfile there is a number, just a number. I retrieve the file, and put it in a FileOutputStream, now I want to convert it to an int and higher the number with one. So for example from 445 to 446. Then I need to convert it to a FileInputStream, so I can send it back.
I've been looking on Google and stuff, but I cannot find this. Could someone help me?
Also, it doesn't needs to be converted to an int, just as long as the number inside the textfile gets changed one higher.