X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Ftest%2Fexamples%2FExample4.java;h=2c5cb175ad06c513cf5d3079b24718f7240e9d2c;hb=038c34792757a86f24296de5683e722fab3f9307;hp=b363ab35e7d2091ad0fe3d26abea68fe6af46475;hpb=cc9d475aad3b7f53b27ee8f048c16398bdba96b5;p=jalview.git diff --git a/forester/java/src/org/forester/test/examples/Example4.java b/forester/java/src/org/forester/test/examples/Example4.java index b363ab3..2c5cb17 100644 --- a/forester/java/src/org/forester/test/examples/Example4.java +++ b/forester/java/src/org/forester/test/examples/Example4.java @@ -30,8 +30,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 Example4 { @@ -41,14 +43,14 @@ public class Example4 { final File treefile = new File( "/home/czmasek/tol_117_TEST.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();