摘要:
// 创建多级文件夹 public static void createDirectory(String path) throws Exception { if (StringUtils.isNullOrEmpty(path)) { return; } try { // 获得文件对象 File f 阅读全文
posted @ 2016-12-02 19:06
1582277142
阅读(298)
评论(0)
推荐(0)
摘要:
// int tp = 1 返回执行结果 非1 返回命令执行后的输出 public static String runCommand(String cmd, int tp) { StringBuffer buf = new StringBuffer(1000); String rt = "-1"; 阅读全文
posted @ 2016-12-02 19:01
1582277142
阅读(1069)
评论(0)
推荐(0)

浙公网安备 33010602011771号