bug fix for Features/Annotations file parameter parsing in JalviewLite reported and...
[jalview.git] / src / jalview / io / FileParse.java
index 4c69ce0..04a673c 100755 (executable)
@@ -287,4 +287,13 @@ public class FileParse
       return "From Paste + ("+index+")";
     }
   }
+  
+  public Reader getReader() throws IOException
+  {
+    if (dataIn!=null && dataIn.ready())
+    {
+      return dataIn;
+    }
+    return null;
+  }
 }