30
31 /**
32 * Defines <em>extended</em> open options supported on some platforms
33 * by Sun's provider implementation.
34 *
35 * @since 1.7
36 */
37
38 public enum ExtendedOpenOption implements OpenOption {
39 /**
40 * Prevent operations on the file that request read access.
41 */
42 NOSHARE_READ(ExtendedOptions.NOSHARE_READ),
43 /**
44 * Prevent operations on the file that request write access.
45 */
46 NOSHARE_WRITE(ExtendedOptions.NOSHARE_WRITE),
47 /**
48 * Prevent operations on the file that request delete access.
49 */
50 NOSHARE_DELETE(ExtendedOptions.NOSHARE_DELETE);
51
52 ExtendedOpenOption(ExtendedOptions.InternalOption<Void> option) {
53 option.register(this);
54 }
55 }
|
30
31 /**
32 * Defines <em>extended</em> open options supported on some platforms
33 * by Sun's provider implementation.
34 *
35 * @since 1.7
36 */
37
38 public enum ExtendedOpenOption implements OpenOption {
39 /**
40 * Prevent operations on the file that request read access.
41 */
42 NOSHARE_READ(ExtendedOptions.NOSHARE_READ),
43 /**
44 * Prevent operations on the file that request write access.
45 */
46 NOSHARE_WRITE(ExtendedOptions.NOSHARE_WRITE),
47 /**
48 * Prevent operations on the file that request delete access.
49 */
50 NOSHARE_DELETE(ExtendedOptions.NOSHARE_DELETE),
51
52 /**
53 * DirectIO.
54 */
55 DIRECT(ExtendedOptions.DIRECT);
56
57 ExtendedOpenOption(ExtendedOptions.InternalOption<Void> option) {
58 option.register(this);
59 }
60 }
|