public class RecursiveFolderCopier
extends java.lang.Object
| Constructor and Description |
|---|
RecursiveFolderCopier() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFolder(java.nio.file.Path sourcePath,
java.nio.file.Path destPath)
Copy a folder recursively.
|
void |
copyFolder(java.nio.file.Path sourcePath,
java.nio.file.Path destPath,
java.util.List<java.nio.file.Path> skipList)
Copy a folder recursively, excluding the subfolders specified in skipList.
|
void |
copyFolder(java.lang.String sourcePath,
java.lang.String destPath)
Copy a folder recursively.
|
void |
copyFolder(java.lang.String sourcePath,
java.lang.String destPath,
java.lang.String[] skipList)
Copy a folder recursively, excluding the subfolders specified in skipList.
|
public void copyFolder(java.lang.String sourcePath,
java.lang.String destPath)
throws java.io.IOException
sourcePath - the source pathdestPath - the destination pathjava.io.IOException - Signals that an I/O exception has occurred.public void copyFolder(java.lang.String sourcePath,
java.lang.String destPath,
java.lang.String[] skipList)
throws java.io.IOException
sourcePath - the source pathdestPath - the destination pathskipList - list of subfolders to be excludedjava.io.IOException - Signals that an I/O exception has occurred.public void copyFolder(java.nio.file.Path sourcePath,
java.nio.file.Path destPath)
throws java.io.IOException
sourcePath - the source pathdestPath - the destination pathjava.io.IOException - Signals that an I/O exception has occurred.public void copyFolder(java.nio.file.Path sourcePath,
java.nio.file.Path destPath,
java.util.List<java.nio.file.Path> skipList)
throws java.io.IOException
sourcePath - the source pathdestPath - the destination pathskipList - list of subfolders to be excludedjava.io.IOException - Signals that an I/O exception has occurred.