net.sourceforge.plantuml.directdot
Class PSystemDot

java.lang.Object
  extended by net.sourceforge.plantuml.AbstractPSystem
      extended by net.sourceforge.plantuml.directdot.PSystemDot
All Implemented Interfaces:
Diagram

public class PSystemDot
extends AbstractPSystem


Constructor Summary
PSystemDot(String data)
           
 
Method Summary
 ImageData exportDiagram(OutputStream os, int num, FileFormatOption fileFormat)
          Export the diagram as an image to some format.
 DiagramDescription getDescription()
           
 
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
executeCommand, getMetadata, getNbImages, getSource, getTitle, getWarningOrError, hasUrl, isOk, makeDiagramReady, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSystemDot

public PSystemDot(String data)
Method Detail

getDescription

public DiagramDescription getDescription()

exportDiagram

public ImageData exportDiagram(OutputStream os,
                               int num,
                               FileFormatOption fileFormat)
                        throws IOException
Description copied from interface: Diagram
Export the diagram as an image to some format. Note that a diagram could be drawn as several images (think about new page for sequence diagram for example).

Parameters:
os - where to write the image
num - useually 0 (index of the image to be exported for this diagram).
fileFormat - file format to use
Returns:
a description of the generated image
Throws:
IOException


Copyright © 2014. All Rights Reserved.