net.sourceforge.plantuml.version
Class PSystemVersion
java.lang.Object
net.sourceforge.plantuml.AbstractPSystem
net.sourceforge.plantuml.version.PSystemVersion
- All Implemented Interfaces:
- Diagram
public class PSystemVersion
- extends AbstractPSystem
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 imagenum
- 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.