public final class FSUtils extends Object
| Constructor and Description |
|---|
FSUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkFolderForFile(String fileName)
Checks whether the folder exists for fileName, and creates it if necessary.
|
static void |
directoryCheck(String dir)
Checks the existence of the directory.
|
public static void directoryCheck(String dir) throws IOException
dir - the directory to check.IOException - if fails.public static void checkFolderForFile(String fileName) throws IOException
fileName - folder name.IOException - an IO exception.Copyright © 2007–2019. All rights reserved.