• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Help about nio...

 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello friends ,
I am back to you all experts to get some more things clarified.
Well cud anyone tell me the list of differences between java.io package and the java.nio packages ??
One thing which is very much clear to me is that java.nio is more faster that java.io ?? but i wanna know more of it ..
i hope you guys would turn up soon with positive response.
Thanks,
Saurabh
 
Ranch Hand
Posts: 2120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Look at this post
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And check out these examples and documentation. The classes in java.io have been rewritten to use the java.nio classes as their underlying implementation so the performance difference should be slight between the two. The advantage nio has over io is in the new functionality it offers, like non-blocking IO, file locking, memory mapped IO, character-set encoding and so on.
 
reply
    Bookmark Topic Watch Topic
  • New Topic