info.bioinfweb.treegraph.document.io.tgf
Class TGFReader

java.lang.Object
  extended by info.bioinfweb.treegraph.document.io.AbstractDocumentReader
      extended by info.bioinfweb.treegraph.document.io.tgf.TGFReader
All Implemented Interfaces:
DocumentReader

public class TGFReader
extends AbstractDocumentReader


Field Summary
private  DistanceValue edgeRadius
           
private  java.util.HashMap<java.lang.String,TextLabelFormats> labelFormats
           
private  NodeFormats leafFormats
           
private  DistanceValue lineWidth
           
private static int SECOUND_LINE_POS
           
 
Fields inherited from class info.bioinfweb.treegraph.document.io.AbstractDocumentReader
document
 
Constructor Summary
TGFReader()
           
 
Method Summary
private  java.util.HashMap<java.lang.String,TextLabelFormats> initLabelFormats()
           
 Document read(java.io.InputStream stream, NodeDataAdapter internalAdapter, TreeSelector selector, boolean translateInternalNodes)
           
 
Methods inherited from class info.bioinfweb.treegraph.document.io.AbstractDocumentReader
read, read, read, read, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SECOUND_LINE_POS

private static final int SECOUND_LINE_POS
See Also:
Constant Field Values

labelFormats

private java.util.HashMap<java.lang.String,TextLabelFormats> labelFormats

leafFormats

private NodeFormats leafFormats

lineWidth

private DistanceValue lineWidth

edgeRadius

private DistanceValue edgeRadius
Constructor Detail

TGFReader

public TGFReader()
Method Detail

initLabelFormats

private java.util.HashMap<java.lang.String,TextLabelFormats> initLabelFormats()

read

public Document read(java.io.InputStream stream,
                     NodeDataAdapter internalAdapter,
                     TreeSelector selector,
                     boolean translateInternalNodes)
              throws java.lang.Exception
Throws:
java.lang.Exception