简介Jnotiy, 支持动态监控(支持级联监控)文件夹和文件的jar包。在linux中,调用linux底层的jnotify服务。在windows中,需要添加附件的dll文件。

因为通用的Maven仓库中没有此Jar文件,pom.xml文件需要如下配置:

<dependency>
    <groupId>net.contentobjects.jnotify</groupId>
    <artifactId>jnotify</artifactId>
    <version>0.94</version>
  </dependency>

  <!-- 在central库中没有这个包,需要添加以下的repo -->
  <repositories>
      <repository>
          <id>bintray</id>
          <url>http://dl.bintray.com/typesafe/maven-releases/</url>
      </repository>
  </repositories>
View Code

相关文章:

  • 2022-01-01
  • 2021-12-19
  • 2021-05-09
  • 2021-11-04
  • 2021-12-31
猜你喜欢
  • 2021-12-01
  • 2022-12-23
  • 2021-05-14
  • 2021-11-17
  • 2021-08-19
  • 2022-12-23
相关资源
相似解决方案