import org.forester.archaeopteryx.MainFrame;
import org.forester.util.ForesterUtil;
-public class TreeParser implements TreeParserI<MainFrame>
+public class ForesterTreeParser implements ExternalTreeParserI<MainFrame>
{
private final String filePath;
private final File file;
- public TreeParser(final String treeFilePath)
+ public ForesterTreeParser(final String treeFilePath)
{
final String possibleError = ForesterUtil.isReadableFile(treeFilePath);
if (possibleError != null)
}
- public TreeParser(final File treeFile) throws IOException
+ public ForesterTreeParser(final File treeFile) throws IOException
{
final String possibleError = ForesterUtil.isReadableFile(treeFile);
if (possibleError != null)
import jalview.datamodel.SequenceGroup;
import jalview.datamodel.SequenceI;
import jalview.ext.forester.io.SupportedTreeFileFilter;
-import jalview.ext.forester.io.TreeParser;
+import jalview.ext.forester.io.ForesterTreeParser;
import jalview.gui.ColourMenuHelper.ColourChangeListener;
import jalview.gui.ViewSelectionMenu.ViewSetProvider;
import jalview.io.AlignmentProperties;
NewickFile fin = null;
try
{
- TreeParser treeParser = new TreeParser(filePath);
+ ForesterTreeParser treeParser = new ForesterTreeParser(filePath);
treeParser.loadTree();