I am working on a project and have been given the task of seeing if an input string is in a dictionary from a jar file. In my project explorer the dictionary can be found under the .jar like this:
Dictionaries.jar
|-->com.backwards.url
|-->WordLists.class
|--->Dictionary.ListOne.txt
|--->Dictionary.ListTwo.txt
Is there an easy way to read these dictionaries and more importantly see if a word is in them?
The dictionary files themselves are just a list of words, i.e:
apple
banana
clementine
...