title: Looking for a Java File Util class that uses NIO.2
body: <p>According to the official Java Tutorial, the best way to write into a file is:
  <a href="http://docs.oracle.com/javase/tutorial/essential/io/file.html#channels" rel="nofollow">http://docs.oracle.com/javase/tutorial/essential/io/file.html#channels</a></p>
  
  <p>Before I create my own FileUtil.write(file, text) method using NIO.2, I wonder if there already is such a method somewhere.</p>
  
  <p>I checked the sources of the latest apache commons io and guava but they both just create a FileOutputStream, convert the string into a byte array and write. I was surprised.</p>
  
  <p>So I have 2 questions:</p>
  
  <ol>
  <li>I thought that NIO.2 is faster than FileOutputStream. But since commons io and guava don't use them I wonder if this is true. The question is: is NIO faster than FileOutputStream ?</li>
  <li>If NIO.2 is faster, is there a library that uses it?</li>
  </ol>