Package jcifs

Interface FileNotifyInformation

  • All Known Implementing Classes:
    FileNotifyInformationImpl

    public interface FileNotifyInformation
    File notification information
    Author:
    mbechler
    • Field Detail

      • FILE_NOTIFY_CHANGE_FILE_NAME

        static final int FILE_NOTIFY_CHANGE_FILE_NAME
        Any file name change in the watched directory or subtree causes a change notification wait operation to return. Changes include renaming, creating, or deleting a file.
        See Also:
        Constant Field Values
      • FILE_NOTIFY_CHANGE_DIR_NAME

        static final int FILE_NOTIFY_CHANGE_DIR_NAME
        Any directory-name change in the watched directory or subtree causes a change notification wait operation to return. Changes include creating or deleting a directory.
        See Also:
        Constant Field Values
      • FILE_NOTIFY_CHANGE_NAME

        static final int FILE_NOTIFY_CHANGE_NAME
        Both FILE_NOTIFY_CHANGE_FILE_NAME and FILE_NOTIFY_CHANGE_DIR_NAME
        See Also:
        Constant Field Values
      • FILE_NOTIFY_CHANGE_ATTRIBUTES

        static final int FILE_NOTIFY_CHANGE_ATTRIBUTES
        Any attribute change in the watched directory or subtree causes a change notification wait operation to return.
        See Also:
        Constant Field Values
      • FILE_NOTIFY_CHANGE_SIZE

        static final int FILE_NOTIFY_CHANGE_SIZE
        Any file-size change in the watched directory or subtree causes a change notification wait operation to return. The operating system detects a change in file size only when the file is written to the disk. For operating systems that use extensive caching, detection occurs only when the cache is sufficiently flushed.s
        See Also:
        Constant Field Values
      • FILE_NOTIFY_CHANGE_LAST_WRITE

        static final int FILE_NOTIFY_CHANGE_LAST_WRITE
        Any change to the last write-time of files in the watched directory or subtree causes a change notification wait operation to return. The operating system detects a change to the last write-time only when the file is written to the disk. For operating systems that use extensive caching, detection occurs only when the cache is sufficiently flushed.
        See Also:
        Constant Field Values
      • FILE_NOTIFY_CHANGE_LAST_ACCESS

        static final int FILE_NOTIFY_CHANGE_LAST_ACCESS
        Any change to the last access time of files in the watched directory or subtree causes a change notification wait operation to return.
        See Also:
        Constant Field Values
      • FILE_NOTIFY_CHANGE_CREATION

        static final int FILE_NOTIFY_CHANGE_CREATION
        Any change to the creation time of files in the watched directory or subtree causes a change notification wait operation to return.
        See Also:
        Constant Field Values
      • FILE_NOTIFY_CHANGE_SECURITY

        static final int FILE_NOTIFY_CHANGE_SECURITY
        Any security-descriptor change in the watched directory or subtree causes a change notification wait operation to return.
        See Also:
        Constant Field Values
      • FILE_NOTIFY_CHANGE_STREAM_NAME

        static final int FILE_NOTIFY_CHANGE_STREAM_NAME
        See Also:
        Constant Field Values
      • FILE_NOTIFY_CHANGE_STREAM_SIZE

        static final int FILE_NOTIFY_CHANGE_STREAM_SIZE
        See Also:
        Constant Field Values
      • FILE_NOTIFY_CHANGE_STREAM_WRITE

        static final int FILE_NOTIFY_CHANGE_STREAM_WRITE
        See Also:
        Constant Field Values
      • FILE_ACTION_ADDED

        static final int FILE_ACTION_ADDED
        File has been added
        See Also:
        Constant Field Values
      • FILE_ACTION_REMOVED

        static final int FILE_ACTION_REMOVED
        File has been removed
        See Also:
        Constant Field Values
      • FILE_ACTION_MODIFIED

        static final int FILE_ACTION_MODIFIED
        File has been modified
        See Also:
        Constant Field Values
      • FILE_ACTION_RENAMED_OLD_NAME

        static final int FILE_ACTION_RENAMED_OLD_NAME
        See Also:
        Constant Field Values
      • FILE_ACTION_RENAMED_NEW_NAME

        static final int FILE_ACTION_RENAMED_NEW_NAME
        See Also:
        Constant Field Values
      • FILE_ACTION_ADDED_STREAM

        static final int FILE_ACTION_ADDED_STREAM
        File stream has been added
        See Also:
        Constant Field Values
      • FILE_ACTION_REMOVED_STREAM

        static final int FILE_ACTION_REMOVED_STREAM
        File stream has been removed
        See Also:
        Constant Field Values
      • FILE_ACTION_MODIFIED_STREAM

        static final int FILE_ACTION_MODIFIED_STREAM
        File stream has modified
        See Also:
        Constant Field Values
      • FILE_ACTION_REMOVED_BY_DELETE

        static final int FILE_ACTION_REMOVED_BY_DELETE
        See Also:
        Constant Field Values
    • Method Detail

      • getAction

        int getAction()
        Returns:
        the action triggering this entry (FILE_ACTION_*)
      • getFileName

        String getFileName()
        Returns:
        the file name affected by the action