`

JNotify:File system events library for Java

 
阅读更多

 

JNotify java API

JNotify is a java library that allow java application to listen to file system events, such as:

  • File created
  • File modified
  • File renamed
  • File deleted

Supported platforms

Usage example

JNotify can be tested by simply running the jar file with the followng commend:
java -Djava.library.path=. -jar jnotify-VER.jar [dir]

 

JNotify will then monitor the specified dir (or the current directory if dir is not specified) and print detected events. Note that java.library.path should point to the location of the native libraries that comes with jnotify (dlls, so dylibs etc).

 

Check out the code sample page.


分享到:
评论

相关推荐

    CSharp 3.0 With the .NET Framework 3.5 Unleashed(english)

    - **The .NET Framework Class Library (FCL)**: The FCL is a collection of pre-built classes and interfaces that provide a rich set of functionality for developing applications. It includes classes for ...

    libuv-1.37.0.zip

    * File system events * ANSI escape code controlled TTY * IPC with socket sharing, using Unix domain sockets or named pipes (Windows) * Child processes * Thread pool * Signal handling * ...

    commons-io-2.4.zip

    Commons IO is a library of utilities to assist with developing IO functionality. There are six main areas included: ...•File Monitor - a component for monitoring file system events

    TMS Pack for FireMonkey2.3.0.1

    Improved : Published events for Find and Replaced dialog in TTMSFMXMemo v2.1.0.0 New : XE4 support Fixed : Issue with memory leak in TTMSFMXGrid Fixed : Issue with triggering OnCursorChange in ...

    Professional C# 3rd Edition

    The Security Configuration File 419 Managing Code Groups and Permissions 423 Turning Security On and Off 423 Resetting Security Policy 423 Creating a Code Group 423 Deleting a Code Group 424 Changing ...

    RxLib控件包内含RxGIF,全部源码及DEMO

    for up to 32767 timing events. You can customize this component in designer using easy-to-use component editor. TAppEvents is an Application wrapper component, which makes it easier to work with the ...

    python3.6.5参考手册 chm

    PEP 519: Adding a file system path protocol PEP 495: Local Time Disambiguation PEP 529: Change Windows filesystem encoding to UTF-8 PEP 528: Change Windows console encoding to UTF-8 PEP 520: ...

    Senfore_DragDrop_v4.1

    Delphi 6, DragDropD5.dpk for Delphi 5, DragDropC5.bpk for C++ Builder 5, etc. 4) Add the Drag and Drop Component Suite components directory to your library path. 5) Load the demo project group: ...

    EhLib 9.1.024

    Read next file for full instructions of working with the library components: .\Hlp\ENG\"EhLib - Users guide.doc" Read about EhLib for Lazarus in the file - Lazarus<*>\readme.txt Overview -------- ...

    EhLib 8.0 Build 8.0.023 Pro Edition FullSource for D7-XE8

    The Library contains components and classes for Borland Delphi versions 7, 9, Developer Studio 2006, Delphi 2007, Embarcadero RAD Studio 2009-XE8, Lazarus. TABLE OF CONTENTS ----------------- ...

    微软内部资料-SQL性能优化2

    The Windows 2000 cache manager provides data caching for both local and network file system drivers. By caching virtual blocks, the cache manager can reduce disk I/O and provide intelligent read ahead...

    [Cocoa] Cocoa Objective-C 开发学习手册 第4版 (英文版)

    Along the way, you’ll build example projects, including a simple Objective-C application, a custom view, a simple video player application, and an app that displays calendar events for the user. ...

    BURNINTEST--硬件检测工具

    (i) DirectX DirectShow and (ii) ATI atiumdag.dll library. - A hang on startup has been corrected. A 2 minute timeout has been added to the collection of system information. - Video playback, Hard ...

    ehlib_vcl_src_9_3.26

    Read next file for full instructions of working with the library components: .\Hlp\ENG\"EhLib - Users guide.doc" Read about EhLib for Lazarus in the file - Lazarus<*>\readme.txt Overview -------- ...

    Packt.Mastering.Csharp.and.NET.Programming

    - **.NET as a Reaction to the Java World**: Microsoft’s response to Sun Microsystems’ Java platform, aiming to provide a robust framework for building and running applications. - **The Open Source...

    Foundations for Analytics with Python O-Reilly-2016-Clinton W. Brownley

    Next, the chapter discusses how to use three different types of conditional logic to filter for specific rows from the input file and write them to a CSV output file. Then the chapter presents two ...

    developing android application with adobe air.part3.rar

    Locating a Device Using Global Positioning System and Network/WiFi Technology AIR and Android Reverse Geocoding Maps EXIF Data and the Map Object The speed Property Conclusion Chapter 11 : Microphone...

    BSD4.4设计手册.7z

    These functions, called system calls appear to user processes as library subroutines. These system calls are the only interface that processes have to these facilities. Details of the system-call ...

Global site tag (gtag.js) - Google Analytics