Passing the letter content as a string instead of the parameter file name
I am able to send letter using the code provided in http://www.postalmethods.com/resources/samples/java by the method sendLetterAndAddress(desc, letterContent, address). Here, to create an instance of LetterContent we need to pass the file name (exact path) as a parameter. Instead of passing the file name as a parameter, Is there any api which accepts the the file content as a string?
Thanks in advance.