@JavaDispatcher.Proxied(value="java.nio.file.Files") protected static interface FileSystem.Files
java.nio.file.Files
.Modifier and Type | Method and Description |
---|---|
Object |
copy(Object source,
Object target,
Object[] option)
Copies a
java.nio.file.Path to a different location. |
Object |
move(Object source,
Object target,
Object[] option)
Moves a
java.nio.file.Path to a different location. |
@JavaDispatcher.IsStatic Object copy(@JavaDispatcher.Proxied(value="java.nio.file.Path") Object source, @JavaDispatcher.Proxied(value="java.nio.file.Path") Object target, @JavaDispatcher.Proxied(value="java.nio.file.CopyOption") Object[] option) throws IOException
java.nio.file.Path
to a different location.source
- The source java.nio.file.Path
.target
- The target java.nio.file.Path
.option
- The copy options.java.nio.file.Path
.IOException
- If an I/O exception occurs.@JavaDispatcher.IsStatic Object move(@JavaDispatcher.Proxied(value="java.nio.file.Path") Object source, @JavaDispatcher.Proxied(value="java.nio.file.Path") Object target, @JavaDispatcher.Proxied(value="java.nio.file.CopyOption") Object[] option) throws IOException
java.nio.file.Path
to a different location.source
- The source java.nio.file.Path
.target
- The target java.nio.file.Path
.option
- The copy options.java.nio.file.Path
.IOException
- If an I/O exception occurs.Copyright © 2014–2021. All rights reserved.