title: create a new java file in eclipse plugin
body: <p>I'm creating an eclipse plug-in.
  I have a string with java code, and I want to save this code to a project. I used the IFile to create my file.
  Is there another way that is better for saving java code?</p>
  
  <p>Ido</p>