随笔分类 - Java 基础
摘要:Java 删除某个目录下面所有的文件 File codeDir = new File("C:\\111111"); deleteContents(codeDir); // 删除 111111 目录下面所有内容,但不删除 111111这个目录 deleteContentsAndDir(codeDir)
阅读全文
摘要:用法一 Thread.dumpStack(); Note: java.lang.Thread /** * Prints a stack trace of the current thread to the standard error stream. * This method is used on
阅读全文