Package com.crawljax.util
Class FSUtils
- java.lang.Object
-
- com.crawljax.util.FSUtils
-
public final class FSUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description FSUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheckFolderForFile(String fileName)Checks whether the folder exists for fileName, and creates it if necessary.static voiddirectoryCheck(String dir)Checks the existence of the directory.
-
-
-
Method Detail
-
directoryCheck
public static void directoryCheck(String dir) throws IOException
Checks the existence of the directory. If it does not exist, the method creates it.- Parameters:
dir- the directory to check.- Throws:
IOException- if fails.
-
checkFolderForFile
public static void checkFolderForFile(String fileName) throws IOException
Checks whether the folder exists for fileName, and creates it if necessary.- Parameters:
fileName- folder name.- Throws:
IOException- an IO exception.
-
-