@HashCodeAndEqualsPlugin.Enhance protected static class FileSystem.ForLegacyVm extends FileSystem
FileSystem.ForLegacyVm, FileSystem.ForNio2CapableVm
Modifier | Constructor and Description |
---|---|
protected |
ForLegacyVm() |
Modifier and Type | Method and Description |
---|---|
void |
copy(File source,
File target)
Copies a file.
|
void |
move(File source,
File target)
Moves a file.
|
getInstance
public void copy(File source, File target) throws IOException
FileSystem
copy
in class FileSystem
source
- The source file.target
- The target file.IOException
- If an I/O exception occurs.public void move(File source, File target) throws IOException
FileSystem
move
in class FileSystem
source
- The source file.target
- The target file.IOException
- If an I/O exception occurs.Copyright © 2014–2024. All rights reserved.