Commit 72e1179c authored by yanzg's avatar yanzg

默认日期格式的支持

parent ecdf772c
...@@ -195,6 +195,9 @@ public class FileHelper { ...@@ -195,6 +195,9 @@ public class FileHelper {
* @return 删除成功返回 true,否则返回 false。 * @return 删除成功返回 true,否则返回 false。
*/ */
public static boolean deleteFolder(String sPath) { public static boolean deleteFolder(String sPath) {
if (StringHelper.isEmpty(sPath)) {
return false;
}
boolean flag = false; boolean flag = false;
File file = new File(sPath); File file = new File(sPath);
// 判断目录或文件是否存在 // 判断目录或文件是否存在
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment