MCPcopy Create free account
hub / github.com/rambaut/figtree / exportTree

Method exportTree

src/figtree/application/JSONTreeExporter.java:82–87  ·  view source on GitHub ↗

Export a single tree @param tree @throws java.io.IOException

(Tree tree)

Source from the content-addressed store, hash-verified

80 * @throws java.io.IOException
81 */
82 @Override
83 public void exportTree(Tree tree) throws IOException {
84 java.util.List<Tree> trees = new ArrayList<Tree>();
85 trees.add(tree);
86 exportTrees(trees);
87 }
88
89 private void writeTrees(Collection<? extends Tree> trees) throws IOException {
90 int indent = 0;

Callers

nothing calls this directly

Calls 2

exportTreesMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected