Class FileUtils
java.lang.Object
org.jweaver.crawler.internal.util.FileUtils
This utility class provides file-related operations. Avoid adding more libraries
-
Method Summary
-
Method Details
-
mkdir
Creates a directory if it does not exist.- Parameters:
dir
- The directory to create.createDirectoryIfNotExisting
- If true, creates the directory if it does not exist; otherwise, throws an IOException.- Throws:
IOException
- If an I/O error occurs while creating the directory, or if the directory already exists as a file.
-