I have an interface that takes java File object, but I have a string I want to send to it. Without writing to disk, how would I create an object suitable to send to that interface?
I have the necessary data/metadata like length, timestamp, content and filename, and I want to include them in the File.