Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想问一下是否可以使用 java prog 为文件夹“Folder1”提供特定路径,然后重命名其中的所有文件,将每个非单词和非数字更改为空格。
用于FileFilter过滤目录的文件,然后用于file.renameTo()重命名文件。
FileFilter
file.renameTo()