public static String getFolderPath(String path) {
		if (StringUtil.isEmpty(path))
			return null;

		path = path.replace("\\", "/");
		if (path.lastIndexOf("/") > -1)
			return path.substring(0, path.lastIndexOf("/") + 1);

		return path;
	}