Интерфейс CopyOption
- Все известные реализующие классы:
- LinkOption, StandardCopyOption
public interface CopyOption
Объект, настраивающий, как копировать или перемещать файл.
Объекты этого типа могут быть использованы с методами Files.copy(Path,Path,CopyOption...), Files.copy(InputStream,Path,CopyOption...) и Files.move(Path,Path,CopyOption...), чтобы настроить, как файл копируется или перемещается.
Перечисление StandardCopyOption определяет стандартные опции.
- С:
- 1.7
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.