public class PSystemVersion extends AbstractPSystem
Modifier and Type | Method and Description |
---|---|
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) |
static BufferedImage |
getCharlieImage() |
DiagramDescription |
getDescription() |
List<String> |
getLines() |
static BufferedImage |
getPlantumlImage() |
static BufferedImage |
getPlantumlSmallIcon() |
static BufferedImage |
getPlantumlSmallIcon2() |
executeCommand, getMetadata, getNbImages, getSource, getTitle, getWarningOrError, hasUrl, isOk, makeDiagramReady, setSource
public static BufferedImage getPlantumlImage()
public static BufferedImage getCharlieImage()
public static BufferedImage getPlantumlSmallIcon()
public static BufferedImage getPlantumlSmallIcon2()
public ImageData exportDiagram(OutputStream os, int num, FileFormatOption fileFormat) throws IOException
Diagram
new page
for sequence diagram for example).os
- where to write the imagenum
- useually 0 (index of the image to be exported for this diagram).fileFormat
- file format to useIOException
public static PSystemVersion createShowVersion()
public static PSystemVersion createShowAuthors()
public static PSystemVersion createCheckVersions(String host, String port)
public static PSystemVersion createTestDot() throws IOException
IOException
public DiagramDescription getDescription()
Copyright © 2016. All Rights Reserved.