Package net.sourceforge.jfilemon

Examples of net.sourceforge.jfilemon.FileInformation


    System.out.println("start roop");
    int i = 0;

    while (true) {
      System.out.println("file start " + i++);
      FileInformation file;

      for (Entry<String, FileInformation> e : this.filePool) {
        file = e.getValue();
        System.out.println("Key : " + e.getKey() + "   Value :" + file.getName() + "][" + file.updateFileModifyState());
      }

      System.out.println("file stop");

      this.waiting(CheckerRunnable.defaultWaitingTerm);
View Full Code Here


  /* (non-Javadoc)
   * @see com.smufu.file.monitor.FileMonitor#getFile(java.lang.String)
   */
  public FileInformation getFile(String alias) {
    FileInformation file = this.filePool.get(alias);

    if (file.getFileModifyState()) {
      file = new FileInformation(file.getAbsolutePath());
      this.filePool.put(alias, file);
    }

    return file;
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.jfilemon.FileInformation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.