The title sounds weird, but I am having in putting my question in proper english. What I want to do it something like
String question = "";
String message = "This message has the following question:\n" + question;
...//later on the code
question = question.path.readingFromAFile(FileAddress);
So, I am building a message that will be sent by mail, and I need to retrieve a piece of text that will be on a html file and insert that on the message.
The catch is: at the point where I need to build the message, the file doesn't properly exist yet, and since it doesn't exist I cannot find it (obviously). What I had in mind was to put a "empty" variable inside the message where I want the text to be and then when the file is created, I would update the variable value, and have it sent to the string that was created before. However I am not sure if that is possible, I thought about something like a placeholder or something of the sorts, but I am not sure how that would work. Any help would be much appreciated, I also apologize for any misunderstanding beforehand, I am having trouble in properly explaining that problem in english, if anything is unclear, please let me know.