public class RecorderFileUtils extends Object
| Constructor and Description |
|---|
RecorderFileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static File |
checkFileExtension(File file,
ResourceType type) |
static void |
createDirectory(File file) |
public static File checkFileExtension(File file, ResourceType type)
file - file to check the file extension oftype - type of filefile name ends with type string, dot included, otherwise new file
instance with the appended type file.IllegalArgumentException - if name of file is empty string or if file is nullpublic static void createDirectory(File file)
Copyright © 2014 JBoss by Red Hat. All rights reserved.