Package javatapas.io
Class CopyFileNio
java.lang.Object
javatapas.io.CopyFileNio
public class CopyFileNio extends Object
Copy a File using Java NIO.
Published at https://www.javatapas.com/io/Java-Copy-File-Nio.html
Javadoc at https://www.javatapas.com/docs/javatapas/io/CopyFileNio.html
Published at https://www.javatapas.com/io/Java-Copy-File-Nio.html
Javadoc at https://www.javatapas.com/docs/javatapas/io/CopyFileNio.html
- Version:
- 2021-04-28
- Author:
- Kodiak Brown
-
Constructor Summary
Constructors Constructor Description CopyFileNio()
-
Method Summary
Modifier and Type Method Description static void
copyFileNIO(String origFileName, String newFileName)
-
Constructor Details
-
CopyFileNio
public CopyFileNio()
-
-
Method Details
-
copyFileNIO
- Parameters:
origFileName
- The name of the source file to be copied.newFileName
- The name of the destination file to be created from the copy.- Throws:
IOException
-