Class FileEventAdapter

    • Constructor Detail

      • FileEventAdapter

        public FileEventAdapter()
    • Method Detail

      • isRecursive

        public boolean isRecursive()
        Description copied from interface: FileEventListener
        If the paths monitored by this listener should be monitored recursively or not.
        Specified by:
        isRecursive in interface FileEventListener
      • onFileDirty

        public void onFileDirty​(File file)
        Description copied from interface: FileEventListener
        Called when an event was lost or the state might be dirty.
        Specified by:
        onFileDirty in interface FileEventListener
        Parameters:
        file - resource path from event or mostly null.
      • onFailure

        public void onFailure()
        Description copied from interface: FileEventListener
        Called when monitoring has failed, after this listener may stop receiving events.
        Specified by:
        onFailure in interface FileEventListener