jdk/src/share/classes/java/nio/file/Watchable.java
changeset 9679 d98ae8bc45fc
parent 5506 202f599c92aa
child 14342 8435a30053c1
equal deleted inserted replaced
9677:638762c0263e 9679:d98ae8bc45fc
    51      * registered with the watch service then the watch key, representing that
    51      * registered with the watch service then the watch key, representing that
    52      * registration, is returned after changing the event set or modifiers to
    52      * registration, is returned after changing the event set or modifiers to
    53      * those specified by the {@code events} and {@code modifiers} parameters.
    53      * those specified by the {@code events} and {@code modifiers} parameters.
    54      * Changing the event set does not cause pending events for the object to be
    54      * Changing the event set does not cause pending events for the object to be
    55      * discarded. Objects are automatically registered for the {@link
    55      * discarded. Objects are automatically registered for the {@link
    56      * StandardWatchEventKind#OVERFLOW OVERFLOW} event. This event is not
    56      * StandardWatchEventKinds#OVERFLOW OVERFLOW} event. This event is not
    57      * required to be present in the array of events.
    57      * required to be present in the array of events.
    58      *
    58      *
    59      * <p> Otherwise the file system object has not yet been registered with the
    59      * <p> Otherwise the file system object has not yet been registered with the
    60      * given watch service, so it is registered and the resulting new key is
    60      * given watch service, so it is registered and the resulting new key is
    61      * returned.
    61      * returned.