変更するファイルを読みこんで一括変換
ファイルを読み込んで一括変換するようにしました。 ��=入力テキストは以下== 2004/04/251631 22009_01_19_22_34_10.wmv 2004/04/251635 22009_01_19_22_37_42.wmv 2004/04/25163632009_01_19_22_38_35.wmv 2004/04/25163732009_01_19_22_38_57.wmv ��= ��=JAVAの処理== 上記テキストを読み込んで日付部とファイル名部にわけて ファイル名を日付の名前に変更して、更新日時を変更する。 ��=JAVAはここから== /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package filerename; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.Calendar; /** * * @author nao */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here //setup initial variable String folderpath = new String("C:\\Documents and Settings\\nao\\デスクトップ\\test\\"); String inputListFile = new String("test.txt"); //String BR = System.getProperty("line.separator"); /...