摘要: mkdirs()可以建立多级文件夹, mkdir()只会建立一级的文件夹, 如下: new File("/tmp/one/two/three").mkdirs(); 执行后, 会建立tmp/one/two/three四级目录 new File("/tmp/one/two/three").mkdir( 阅读全文
posted @ 2018-04-02 21:38 listener_lei 阅读(865) 评论(0) 推荐(0) 编辑