Implementing WatchService API in Java 7

posted by anishaanisha 632 days, 8 hours ago
Wednesday, July 25, 2012 12:43:19 PM GMT

In Java 7 there were quite a lot of new things added to the File NIO package (java.nio)- there was a new java.nio.file package and java.nio.file.attribute package. Main highlights of the java.nio.file package are the following classes:Path: Its an object used to locate a file or directory in the file system. The value contained in the Path instance is platform dependent. For example on Windows the file separators would be “\” while in a Unix platform it would be “/”. Files: This class contains static met...

category: Java EE | clicked: 1 | | source: www.javabeat.net | show counter code
tags: directory, Java 7, watchservice API

To post comments using your Facebook,Twitter, Gmail etc credentials in the Discus comments section. Or use your Javapins credentials at the end of the page.
To post your comment as a Javapins user please login or signup to Javapins database.