Thank you X 100, Karthik. I was turning grey over that one.
Since IndexReader is an abstract class, I assumed it could not be instantiated. The Sun
Java tutorial I and I section reads:
"An abstract class is a class that is declared abstract—it may or may not include abstract methods. Abstract classes cannot be instantiated, but they can be subclassed."
I guess I need to read up on factory methods. Is "reader" in your example considered an object, or is it considered something else? Is using the open() method a way of subclassing IndexReader?
thanks again,
Allasso