Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## info.bioinfweb.treegraph.document.io.nexus
Class NexusWriter

    java.lang.Object
      info.bioinfweb.treegraph.document.io.AbstractDocumentWriter
          info.bioinfweb.treegraph.document.io.nexus.NexusWriter

All Implemented Interfaces:
  DocumentWriter

    public class NexusWriter

extends AbstractDocumentWriter

Field Summary

Fields inherited from class info.bioinfweb.treegraph.document.io.AbstractDocumentWriter
`DEFAULT_ADAPTER, document`

Constructor Summary
`NexusWriter()`

Method Summary
`void` | `write(Document document, OutputStream stream)`
`void` | `write(Document document, OutputStream stream, NodeDataAdapter internalAdapter, NodeDataAdapter leafAdapter, NodeDataAdapter branchLengthAdapter)`
`private void` | `writeCommand(OutputStreamWriter writer, String content)`

Methods inherited from class info.bioinfweb.treegraph.document.io.AbstractDocumentWriter
`write, write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NexusWriter

    public NexusWriter()

Method Detail

### writeCommand

    private void writeCommand(OutputStreamWriter writer,
                              String content)
                       throws IOException

  Throws:
    `IOException`

### write

    public void write(Document document,
                      OutputStream stream,
                      NodeDataAdapter internalAdapter,
                      NodeDataAdapter leafAdapter,
                      NodeDataAdapter branchLengthAdapter)
               throws Exception

  Throws:
    `Exception`

### write

    public void write(Document document,
                      OutputStream stream)
               throws Exception

  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD