Tiff is an image type. So, what you would need to do is create an .tif image of the text that you have. Java has a package "jai - Java Advanced Imaging API". You could use that.
I had made a class that creates an image stream of tiff type. You could then create a new file and store the image in it.
Here is the class ....