title: How do I get a Java File object without creating a corresponding file
body: <p>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?</p>
  
  <p>I have the necessary data/metadata like length, timestamp, content and filename, and I want to include them in the File.</p>