开发者

how to change files titles with java

开发者 https://www.devze.com 2023-04-12 12:49 出处:网络
i would like to 开发者_运维技巧ask if it is possible with a java prog to give a specific path to a folder \"Folder1\" and then rename all the files in it, changing each non-word and non-number to whit

i would like to 开发者_运维技巧ask if it is possible with a java prog to give a specific path to a folder "Folder1" and then rename all the files in it, changing each non-word and non-number to whitespace.


Use FileFilter to filter the files of a Directory and then use file.renameTo() to rename the files.

0

精彩评论

暂无评论...
验证码 换一张
取 消