--- /dev/null
+package jalview.ext.treeviewer;
+
+import java.io.IOException;
+
+/**
+ * Interface for reading in trees from a given source.
+ *
+ * @author kjvanderheide
+ *
+ */
+public interface TreeParserI
+ {
+ public String getName();
+
+ public TreeI[] getParsedTrees();
+
+ /**
+ *
+ * @return Trees that were successfully parsed.
+ * @throws IOException
+ */
+ public TreeI[] parse() throws IOException;
+
+ public void setSource(Object source) throws IOException;
+
+ }