From f08084db09ea6fbdff2e57661c0672825506b8af Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Wed, 2 Nov 2011 20:08:29 +0000 Subject: [PATCH] Edited wiki page forester through web user interface. --- wiki/forester.wiki | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wiki/forester.wiki b/wiki/forester.wiki index 33be888..b6b2caa 100644 --- a/wiki/forester.wiki +++ b/wiki/forester.wiki @@ -25,8 +25,10 @@ import java.io.File; import java.io.IOException; import org.forester.io.parsers.PhylogenyParser; +import org.forester.io.parsers.util.ParserUtils; import org.forester.io.writers.PhylogenyWriter; import org.forester.phylogeny.Phylogeny; +import org.forester.phylogeny.PhylogenyMethods; import org.forester.util.ForesterUtil; public class Example { @@ -36,14 +38,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