net.sourceforge.plantuml.version
Class PSystemVersion

java.lang.Object
  extended by net.sourceforge.plantuml.AbstractPSystem
      extended by net.sourceforge.plantuml.version.PSystemVersion
All Implemented Interfaces:
Diagram

public class PSystemVersion
extends AbstractPSystem


Method Summary
static PSystemVersion createCheckVersions(String host, String port)
           
static PSystemVersion createShowAuthors()
           
static PSystemVersion createShowVersion()
           
static PSystemVersion createTestDot()
           
 ImageData exportDiagram(OutputStream os, int num, FileFormatOption fileFormat)
          Export the diagram as an image to some format.
static int extractDownloadableVersion(String host, String port)
           
 DiagramDescription getDescription()
           
 List<String> getLines()
           
static BufferedImage getPlantumlImage()
           
static BufferedImage getPlantumlSmallIcon()
           
static BufferedImage getPlantumlSmallIcon2()
           
 
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
 

Method Detail

getPlantumlImage

public static BufferedImage getPlantumlImage()

getPlantumlSmallIcon

public static BufferedImage getPlantumlSmallIcon()

getPlantumlSmallIcon2

public static BufferedImage getPlantumlSmallIcon2()

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

createShowVersion

public static PSystemVersion createShowVersion()

createShowAuthors

public static PSystemVersion createShowAuthors()

createCheckVersions

public static PSystemVersion createCheckVersions(String host,
                                                 String port)

extractDownloadableVersion

public static int extractDownloadableVersion(String host,
                                             String port)

createTestDot

public static PSystemVersion createTestDot()
                                    throws IOException
Throws:
IOException

getDescription

public DiagramDescription getDescription()

getLines

public List<String> getLines()


Copyright © 2014. All Rights Reserved.