All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.marschall.memoryfilesystem.ModificationWatchEvent Maven / Gradle / Ivy

The newest version!
package com.github.marschall.memoryfilesystem;

import java.nio.file.Path;
import java.nio.file.StandardWatchEventKinds;

final class ModificationWatchEvent extends PathWatchEvent {

  private final int count;


  ModificationWatchEvent(Path path, int count) {
    super(path);
    this.count = count;
  }

  @Override
  public Kind kind() {
    return StandardWatchEventKinds.ENTRY_MODIFY;
  }

  @Override
  public int count() {
    return this.count;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy