public class IOUtils extends Object
Modifier and Type | Method and Description |
---|---|
static int |
compareStructure(File pFile,
IConfigurationPath[] pPaths)
Checking a structure in a folder to be equal with the data in this
enum.
|
static boolean |
createFolderStructure(File pFile,
IConfigurationPath[] pPaths)
Creating a folder structure based on a set of paths given as parameter and returning a boolean
determining the success.
|
static boolean |
recursiveDelete(File pFile)
Deleting a storage recursive.
|
public static boolean createFolderStructure(File pFile, IConfigurationPath[] pPaths) throws TTIOException
pFile
- the root folder where the configuration should be created to.pPaths
- to be createdTTIOException
public static int compareStructure(File pFile, IConfigurationPath[] pPaths)
pFile
- to be checkedpPaths
- containing the elements to be checked againstpublic static boolean recursiveDelete(File pFile)
pFile
- which should be deleted included descendantsCopyright © 2013. All Rights Reserved.