title: Possible error in the oracle java tutorial?
body: <p>From <a href="http://docs.oracle.com/javase/tutorial/essential/io/fileAttr.html" rel="nofollow">this</a> Oracle Java tutorial:</p>
  
  <blockquote>
    <p>The asFileAttribute method accepts a Set of file permissions and
    constructs a file attribute that can be passed to the Path.createFile
    or Path.createDirectory method.</p>
  </blockquote>
  
  <p>Did they mean <code>Files.createFile</code>?</p>