Package org.apache.solr.util
Class DirectoryUtil
java.lang.Object
org.apache.solr.util.DirectoryUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyDirectoryContents(Path source, Path destination) Recursively copy the contents of one directory into another.
-
Method Details
-
copyDirectoryContents
Recursively copy the contents of one directory into another. For example:copyDirectory(Path.of("src"), Path.of("dst"))will copy the contents of src directly into dst. This will not create a new "src" folder inside of dst.- Throws:
IOException
-