From: cmzmasek@gmail.com Date: Wed, 2 Nov 2011 20:12:07 +0000 (+0000) Subject: Edited wiki page forester through web user interface. X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6badcfc80a7011b3754dba149e839704d30d16ab;p=jalview.git Edited wiki page forester through web user interface. --- diff --git a/wiki/forester.wiki b/wiki/forester.wiki index b6b2caa..70020a5 100644 --- a/wiki/forester.wiki +++ b/wiki/forester.wiki @@ -78,9 +78,10 @@ import java.io.File; import java.io.IOException; import org.forester.archaeopteryx.Archaeopteryx; +import org.forester.io.parsers.util.ParserUtils; import org.forester.io.parsers.PhylogenyParser; import org.forester.phylogeny.Phylogeny; -import org.forester.util.ForesterUtil; +import org.forester.phylogeny.PhylogenyMethods; public class Example { @@ -89,14 +90,14 @@ public class Example { final File treefile = new File( "/path/to/tree.xml" ); PhylogenyParser parser = null; try { - parser = ForesterUtil.createParserDependingOnFileType( treefile, true ); + parser = ParserUtils.createParserDependingOnFileType( treefile, true ); } catch ( final IOException e ) { e.printStackTrace(); } Phylogeny[] phys = null; try { - phys = ForesterUtil.readPhylogenies( parser, treefile ); + phys = PhylogenyMethods.readPhylogenies( parser, treefile ); } catch ( final IOException e ) { e.printStackTrace();