word 2 « Development « Java I/O Q&A





1. Check if a word is in a file.    forums.oracle.com

I have a directory with .txt files in it. Have selected the directory using JFileChooser. Have set up a scanner to scan the directory. I have a String (which has been broken up into individual tokens (words) and put into an ArrayList). How do I go about taking the words from the ArrayList and checking to see what files the words ...