前段时间找到一本书的源代码,可惜源代码文件全部是大写的,想执行都得一个一个地改文件名。很麻烦。所以写了个程序,把路径输入,就可以将文件夹下的所有 文件全部转换为大写字母文件或小写字母文件。
虽然不是什么好东东,但如果有朋友遇到这样我这样问题的时候,就可以拿这个东西帮忙了。
运行环境:JDK1.5 或更高。 -Some time ago to find a book
文 件 列 表
FileCovertCase 可执行文件 src bin .classpath .project fileCovert.JPG
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001045s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.115453s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001010s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001075s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001002s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003018s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000893s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003872s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.015834s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001578s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 113230 [ RunTime:0.022441s ]