Click here to Skip to main content
15,921,351 members

Comments by Member 12218847 (Top 2 by date)

Member 12218847 20-Dec-15 12:08pm View    
ok sir....thank you...
Member 12218847 20-Dec-15 10:44am View    
Sorry......I am trying to read multiple files and to get respective file names inside the file and to display the output directly on a new text documents..
1) line = String.format("[%s_\nDINAMALAR_
DATE]", f.getName());
---From this line i tried to paste the file name inside the respective file---
2) output = new PrintWriter(new File(line + ".txt"), "UTF-8");
---this line i used to give name for newly created files---
The newly created file name comes along with [ ..as i mentioned in the 1)
i want [ inside the file but not in the name of the file