< prev index next >
src/jdk.unsupported/share/classes/com/sun/nio/file/ExtendedCopyOption.java
Print this page
*** 24,34 ****
*/
package com.sun.nio.file;
import java.nio.file.CopyOption;
! import sun.nio.fs.ExtendedOptions;
/**
* Defines <em>extended</em> copy options supported on some platforms
* by Sun's provider implementation.
*
--- 24,34 ----
*/
package com.sun.nio.file;
import java.nio.file.CopyOption;
! import jdk.internal.misc.FileSystemOption;
/**
* Defines <em>extended</em> copy options supported on some platforms
* by Sun's provider implementation.
*
*** 38,48 ****
public enum ExtendedCopyOption implements CopyOption {
/**
* The copy may be interrupted by the {@link Thread#interrupt interrupt}
* method.
*/
! INTERRUPTIBLE(ExtendedOptions.INTERRUPTIBLE);
! ExtendedCopyOption(ExtendedOptions.InternalOption<Void> option) {
option.register(this);
}
}
--- 38,48 ----
public enum ExtendedCopyOption implements CopyOption {
/**
* The copy may be interrupted by the {@link Thread#interrupt interrupt}
* method.
*/
! INTERRUPTIBLE(FileSystemOption.INTERRUPTIBLE);
! ExtendedCopyOption(FileSystemOption<Void> option) {
option.register(this);
}
}
< prev index next >