Another option is a Formatter which can write all those details in to a text file. You can pass the File object to its constructor, or a stream leading to that file. You may have to handle a FileNotFoundException.
Why are you parsing a String to an int and immediately converting it back to a String with the + operator? Why not simply use trim() and add the Strings with +.