src/jdk.unsupported/share/classes/com/sun/nio/file/ExtendedWatchEventModifier.java
changeset 52427 3c6aa484536c
parent 47216 71c04702a3d5
equal deleted inserted replaced
52426:38bf0c9c4e64 52427:3c6aa484536c
     1 /*
     1 /*
     2  * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    24  */
    24  */
    25 
    25 
    26 package com.sun.nio.file;
    26 package com.sun.nio.file;
    27 
    27 
    28 import java.nio.file.WatchEvent.Modifier;
    28 import java.nio.file.WatchEvent.Modifier;
    29 import sun.nio.fs.ExtendedOptions;
    29 import jdk.internal.misc.FileSystemOption;
    30 
    30 
    31 /**
    31 /**
    32  * Defines <em>extended</em> watch event modifiers supported on some platforms
    32  * Defines <em>extended</em> watch event modifiers supported on some platforms
    33  * by Sun's provider implementation.
    33  * by Sun's provider implementation.
    34  *
    34  *
    38 public enum ExtendedWatchEventModifier implements Modifier {
    38 public enum ExtendedWatchEventModifier implements Modifier {
    39 
    39 
    40     /**
    40     /**
    41      * Register a file tree instead of a single directory.
    41      * Register a file tree instead of a single directory.
    42      */
    42      */
    43     FILE_TREE(ExtendedOptions.FILE_TREE);
    43     FILE_TREE(FileSystemOption.FILE_TREE);
    44 
    44 
    45     ExtendedWatchEventModifier(ExtendedOptions.InternalOption<Void> option) {
    45     ExtendedWatchEventModifier(FileSystemOption<Void> option) {
    46         option.register(this);
    46         option.register(this);
    47     }
    47     }
    48 }
    48 }