摘要: 复制文件夹View Code /** * <一句话功能简述>复制文件夹 <功能详细描述> * * @param srcDir 文件夹的绝对路径 * @param destDir 目标绝对路径 * @throws Exception * @see [类、类#方法、类#成员] */ public static void copyFolder(String srcDir, String destDir) throws Exception { File srcFile = new File(srcDir); ... 阅读全文
posted @ 2012-11-20 19:25 刺客XIII 阅读(610) 评论(0) 推荐(1) 编辑
摘要: 项目快结束了,人清闲了,写写小工具,嘿嘿……复制文件 /** * 复制文件到目录 <功能详细描述> * * @param srcPath 文件绝对路径 * @param destDirPath 目标文件夹绝对路径 * @throws Exception * @see [类、类#方法、类#成员] */ public static void copyFile(String srcPath, String destDirPath) throws Exception { File srcfile = new File... 阅读全文
posted @ 2012-11-20 16:21 刺客XIII 阅读(3455) 评论(0) 推荐(0) 编辑