阅读背景:

Java:从文件夹中读取所有.txt文件,然后移动到新文件夹

来源:互联网 

Help, i need to read every .txt file in a folder then copy/move it all to the new folder. But, i need to copy the text inside every .txt file and create them a variable (1 .txt file to 1 variable). I only got this code that only can read 1 .txt file then copying the text inside the .txt file to another .txt file in another folder and it creating the text inside .txt into variable (aLine)...Help, i need to read every .txt file in a folde




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: