From 6badcfc80a7011b3754dba149e839704d30d16ab Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Wed, 2 Nov 2011 20:12:07 +0000 Subject: [PATCH] Edited wiki page forester through web user interface. --- wiki/forester.wiki | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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(); -- 1.7.10.2