@JavaDispatcher.Proxied(value="java.nio.file.Files") protected static interface FileSystem.ForNio2CapableVm.Files
java.nio.file.Files API.| Modifier and Type | Method and Description | 
|---|---|
| Object | copy(Object source,
    Object target,
    Object[] option)Copies a file. | 
| Object | createLink(Object source,
          Object target)Links a file. | 
| Object | deleteIfExists(Object file)Deletes a file if it exists. | 
| Object | move(Object source,
    Object target,
    Object[] option)Moves a file. | 
@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
source - The source java.nio.file.Path.target - The target java.nio.file.Path.option - An array of copy options.IOException - If an I/O exception occurs.@JavaDispatcher.IsStatic Object createLink(@JavaDispatcher.Proxied(value="java.nio.file.Path") Object source, @JavaDispatcher.Proxied(value="java.nio.file.Path") Object target) throws IOException
source - The source java.nio.file.Path.target - The target 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
source - The source java.nio.file.Path.target - The target java.nio.file.Path.option - An array of copy options.IOException - If an I/O exception occurs.@JavaDispatcher.IsStatic Object deleteIfExists(@JavaDispatcher.Proxied(value="java.nio.file.Path") Object file) throws IOException
file - The java.nio.file.Path to delete if it exists.IOException - If an I/O exception occurs.Copyright © 2014–2025. All rights reserved.