return File from createDirectory

This commit is contained in:
Grahame Grieve 2019-04-16 23:26:08 +10:00
parent 40a2dd9e56
commit 0a96fa9f37
1 changed files with 3 additions and 2 deletions

View File

@ -324,8 +324,9 @@ public class Utilities {
// }
}
public static void createDirectory(String path) throws IOException{
new CSFile(path).mkdirs();
public static File createDirectory(String path) throws IOException{
new CSFile(path).mkdirs();
return new File(path);
}
public static String changeFileExt(String name, String ext) {