@HashCodeAndEqualsPlugin.Enhance protected static class FileSystem.ForNio2CapableVm extends FileSystem
| Modifier and Type | Class and Description | 
|---|---|
| protected static interface  | FileSystem.ForNio2CapableVm.DispatcherA dispatcher to resolve a  Fileto ajava.nio.file.Path. | 
| protected static interface  | FileSystem.ForNio2CapableVm.FilesA dispatcher to access the  java.nio.file.FilesAPI. | 
| protected static interface  | FileSystem.ForNio2CapableVm.StandardCopyOptionA dispatcher to interact with  java.nio.file.StandardCopyOption. | 
FileSystem.ForLegacyVm, FileSystem.ForNio2CapableVm| Modifier | Constructor and Description | 
|---|---|
| protected  | ForNio2CapableVm() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | copy(File source,
    File target)Copies a file. | 
| void | link(File source,
    File target)Links a file as a hard-link. | 
| void | move(File source,
    File target)Moves a file. | 
getInstancepublic void copy(File source, File target) throws IOException
FileSystemcopy in class FileSystemsource - The source file.target - The target file.IOException - If an I/O exception occurs.public void link(File source, File target) throws IOException
FileSystemlink in class FileSystemsource - The source file.target - The target file.IOException - If an I/O exception occurs.public void move(File source, File target) throws IOException
FileSystemmove in class FileSystemsource - The source file.target - The target file.IOException - If an I/O exception occurs.Copyright © 2014–2025. All rights reserved.