public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteDirectoryIncludeContent(String folderPath)
Delete directory including contents
|
static boolean |
dirExists(String path)
Check whether if folder exists
|
static boolean |
fileExists(String path)
Check whether file exists
|
public static void deleteDirectoryIncludeContent(String folderPath) throws IOException
folderPath
- folder pathIOException
public static boolean fileExists(String path)
path
- the file pathpublic static boolean dirExists(String path)
path
- the folder pathCopyright © 2016. All rights reserved.