摘要: 一下是对File类的一下操作, 主要是以删除文件为例子:package com.IODemo;import java.io.File;public class DeleteFile { /** * 删除文件或空文件夹 * @param file * @return * @throws Exception */ public static boolean deleteFile(String path)throws Exception{ File file = new File(path); boolean flag ... 阅读全文
posted @ 2013-05-28 14:53 奋斗的小菜鸟 阅读(1406) 评论(0) 推荐(0) 编辑