}
- public Reader getReader() throws IOException
+ /**
+ * get the underlying bufferedReader for this data source.
+ * @return null if no reader available
+ * @throws IOException
+ */
+ public Reader getReader()
{
- if (dataIn != null && dataIn.ready())
+ if (dataIn != null) // Probably don't need to test for readiness && dataIn.ready())
{
return dataIn;
}