Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NIO 2

 
Singh Harmeet
Ranch Hand
Posts: 115
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i want to study the NIO 2 , suggest me where i learn NIO2 and which is the good tutorial or book of NIO 2 ???
 
Stephan van Hulst
Bartender
Posts: 6589
86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried the Oracle tutorials? They cover most of the new features, and you can get a further description of the new classes in the API.

http://download.oracle.com/javase/tutorial/essential/io/fileio.html
http://download.oracle.com/javase/7/docs/api/index.html?java/nio/file/package-summary.html
 
Singh Harmeet
Ranch Hand
Posts: 115
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes i try these tutorial, but these tutorials are not in detail, these are the short cuts, i want to learn from begning and in proper way.....
 
Stephan van Hulst
Bartender
Posts: 6589
86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should probably try googling for such resources. There probably won't be that many yet, since NIO 2 is still pretty new. For detail, I suggest you click my second link and read the documentation of the java.nio.file.* package.

In my own code, I haven't changed much since NIO 2 came, except that I'm dropping the File class where I can, and replace it with the Path class.
 
Don't mess with me you fool! I'm cooking with gas! Here, read this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!