FileParse object can be re-used to read different files concatenated together
[jalview.git] / src / jalview / io / AlignFile.java
index da09590..2ad32f0 100755 (executable)
@@ -71,7 +71,17 @@ public abstract class AlignFile
 
     parse();
   }
-
+  /**
+   * Attempt to read from the position where some other parsing process left off.
+   * @param source
+   * @throws IOException
+   */
+  public AlignFile(FileParse source) throws IOException
+  {
+    super(source);
+    initData();
+    parse();
+  }
   /**
    * Return the seqs Vector
    */