info.bioinfweb.treegraph.document.io
Class AbstractDocumentWriter
java.lang.Object
info.bioinfweb.treegraph.document.io.AbstractDocumentWriter
- All Implemented Interfaces:
- DocumentWriter
- Direct Known Subclasses:
- NewickWriter, NexusWriter, XTGWriter
public abstract class AbstractDocumentWriter
- extends Object
- implements DocumentWriter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ADAPTER
public static final NodeNameAdapter DEFAULT_ADAPTER
document
protected Document document
AbstractDocumentWriter
public AbstractDocumentWriter()
write
public void write(Document document,
File file)
throws Exception
- Specified by:
write
in interface DocumentWriter
- Throws:
Exception
write
public void write(Document document,
File file,
NodeBranchDataAdapter internalAdapter,
NodeBranchDataAdapter leafAdapter,
NodeBranchDataAdapter branchLengthAdapter)
throws Exception
- Specified by:
write
in interface DocumentWriter
- Throws:
Exception