Bookmark Topic Watch Topic
  • New Topic

Read file from directory, update contents of the each file

 
Dhan Priyan
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Report post to moderator
hai,
I could not understand how to debug the error i have now.
target
1- read the files from directory // i able ot do this part
2- for each file
for each file read the content & compare with the existing List & update the list // i able to do this part

when i try to combine both parts , i got some following error


run:
E:\java\check\100130.ixf
Error: children[i] (The system cannot find the file specified)
BUILD SUCCESSFUL (total time: 2 seconds)


i can see from the code that children[i] only gives the error when i use that in the second part of the code.

can any one help me on this??
Thanks
Priyan


the original code
 
Rob Spoor
Sheriff
Pie
Posts: 20493
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please Use One Thread Per Question. This is basically the same question as this one.

One hint though: Are you sure you want those quotes there?
 
    Bookmark Topic Watch Topic
  • New Topic