I have moved your post to a more appropriate forum.
Yes it is possible. Get the folder, list the files in said folder, and read each one in a loop. See
Lesson: Basic I/O (The Java™ Tutorials >...