Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
  • Himai Minh
  • Carey Brown
  • salvin francis

Read file from directory, update contents of the each file

Posts: 12
  • Mark post as helpful
  • send pies
  • Report post to moderator
I could not understand how to debug the error i have now.
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

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??

the original code
Posts: 22041
Eclipse IDE Spring VI Editor Chrome Java Ubuntu 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?
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic