@Test @DisplayName("A File Manager can create a user") void createUserFolder() { Assertions.assertDoesNotThrow(() -> FileManager.createUserFolder(FileManagerTest.USER_FOLDER)); }
public static boolean createUserFolder(final String folder) throws IOException { final String tempPath = FileManager.libDir + OsUtils.getSeparator() + LibPaths.USER.getDirName() + OsUtils.getSeparator() + folder.replaceAll("\\s+", "_"); return FileManager.createDirectory(tempPath); }
FileManager { public static boolean createUserFolder(final String folder) throws IOException { final String tempPath = FileManager.libDir + OsUtils.getSeparator() + LibPaths.USER.getDirName() + OsUtils.getSeparator() + folder.replaceAll("\\s+", "_"); return FileManager.createDirectory(tempPath); } }
FileManager { public static boolean createUserFolder(final String folder) throws IOException { final String tempPath = FileManager.libDir + OsUtils.getSeparator() + LibPaths.USER.getDirName() + OsUtils.getSeparator() + folder.replaceAll("\\s+", "_"); return FileManager.createDirectory(tempPath); } private  FileManager(); }
FileManager { public static boolean createUserFolder(final String folder) throws IOException { final String tempPath = FileManager.libDir + OsUtils.getSeparator() + LibPaths.USER.getDirName() + OsUtils.getSeparator() + folder.replaceAll("\\s+", "_"); return FileManager.createDirectory(tempPath); } private  FileManager(); static void createFrameworkDirectory(); static boolean createLibSubFolder(final String folder); static boolean createUserFolder(final String folder); static void deleteUserFolder(final String folder); static void createKinectNativeFolderLib(); static List<String> getAllUserFolder(); static String getUserDir(final String name); }
FileManager { public static boolean createUserFolder(final String folder) throws IOException { final String tempPath = FileManager.libDir + OsUtils.getSeparator() + LibPaths.USER.getDirName() + OsUtils.getSeparator() + folder.replaceAll("\\s+", "_"); return FileManager.createDirectory(tempPath); } private  FileManager(); static void createFrameworkDirectory(); static boolean createLibSubFolder(final String folder); static boolean createUserFolder(final String folder); static void deleteUserFolder(final String folder); static void createKinectNativeFolderLib(); static List<String> getAllUserFolder(); static String getUserDir(final String name);  }