Hi Hugo, On Thursday, February 28, 2013 5:11:57 PM UTC+1, Hugo Duncan wrote: > > > Hi Jürgen, > > I was just looking for a nice filesystem watcher! > > Jürgen Hötzel <jue...@hoetzel.info <javascript:>> writes: > > > - Implementation of * clojure.java.io/Coercions * and * > > clojure.java.io/IOFactory* protocols for NIO.2 paths. > > Does this differ from https://github.com/pjstadig/nio? >
Yes, the nio package is about the IO Channel/Buffers abstractions introduced with Java 5 (java.nio.Buffer, java.nio.channels.Channel). My nio2 package is about the new Path, WatchService and DirectoryStream abstractions introduced with Java 7 (all in the new java.nio.file package). I also plan to wrap file attributes and ACLs (not implemented yet) Both packages extend the clojure.java.io protocols and multimethods for easy interoperability with existing Clojure IO code. There is no WatchService awailable in nio. The only way to to this without Java 7/NIO2 is to use native librarys like http://jnotify.sourceforge.net/ Jürgen -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.