Java Virtal Machine.net

[ News ] rss

February 01, 2011

Mark Wielaard: New GPG key. Finally created a new GPG key using gnupg. The old one was a DSA/1024 bits one and 8 years old. The new one is a RSA/2048 bits one. I will use the new one in the future to sign any release tarballs I might create. pub 2048R/57816A6A 2011-01-29 Key f...

More »

February 01, 2011

Andrew Hughes: [SECURITY] IcedTea6 1.7.8, 1.8.5, 1.9.5 Released!. We are pleased to announce a new set of security releases, IcedTea6 1.7.8, IcedTea6 1.8.5 and IcedTea6 1.9.5. This update contains the following security updates: The IcedTea project provides a harness to build the source code from OpenJDK6 u...

More »

December/2024
SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
2223242526 2728
293031    

[ Archives News
for 'Java Technology' ]

home > news > java technology > introducing nio.2 (jsr 203) part 1: what are new features?

Introducing NIO.2 (JSR 203) Part 1: What are new features?

I will write a series of blog to discuss what are the new features introduced in NIO.2 (JSR 203). The NIO.2 implementation is a part of OpenJDK project and we can alreay use it by downloading a copy of OpenJDK binary.  In the first entry I will just go through what are these new I/O features of Java 7, which help developer iron out better applications easier. Talking about File systems support and features which let us  deal with file system we can name the following features: Platform friendly-ness of NIO.2: We can deal with all file systems in a unified model. File tree walk: We can walk on a file tree and examine each node using the built-in APIs, NIO.2 to let us know whether the current member is a file, a directory or a symbolic link. We can then perform any operation we want on that node. File Operations (Copy, Delete, Move): Basic operations are supported with plethora of options. The move operation can be performed in atomic way. Symbolic links support: count soft and hard links as well as managing them. Support for file attributes in NIO.2: Managing file systems attributes is fully supported for different file systems including DOS, POSIX... File system change notification: We can setup a watch service and receive notification when a change happens on the path we are watching. SPI for providing new file systems support, for example to support zip, zfs, btrfs, we can implement the pr...


Date: May, 20 2010
Url: http://www.java.net/blog/kalali/archive/2010/05/19/introducing-nio2-jsr-203-part-1-what-are-new-features


Others News

©2002-2019Java-Virtual-Machine.net html website maker | website designer | Free Bootstrap Template | mobiriseextensions.com | bootstrap forms