Package net.bytebuddy.utility
Class FileSystem.ForLegacyVm
- java.lang.Object
-
- net.bytebuddy.utility.FileSystem
-
- net.bytebuddy.utility.FileSystem.ForLegacyVm
-
- Enclosing class:
- FileSystem
@Enhance protected static class FileSystem.ForLegacyVm extends FileSystem
A file system representation for a VM that does not support NIO2.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.bytebuddy.utility.FileSystem
FileSystem.ForLegacyVm, FileSystem.ForNio2CapableVm
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedForLegacyVm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopy(java.io.File source, java.io.File target)Copies a file.voidmove(java.io.File source, java.io.File target)Moves a file.-
Methods inherited from class net.bytebuddy.utility.FileSystem
getInstance, link
-
-
-
-
Method Detail
-
copy
public void copy(java.io.File source, java.io.File target) throws java.io.IOExceptionDescription copied from class:FileSystemCopies a file.- Specified by:
copyin classFileSystem- Parameters:
source- The source file.target- The target file.- Throws:
java.io.IOException- If an I/O exception occurs.
-
move
public void move(java.io.File source, java.io.File target) throws java.io.IOExceptionDescription copied from class:FileSystemMoves a file.- Specified by:
movein classFileSystem- Parameters:
source- The source file.target- The target file.- Throws:
java.io.IOException- If an I/O exception occurs.
-
-