public class RenderingDiagramWriter extends AbstractDiagramWriter
AbstractDiagramWriter uses a PlantUML server to directly render
the diagram and write the result to a file. If it does not exist, it will be created (including
directories). Any previous content will be overwritten.| Constructor and Description |
|---|
RenderingDiagramWriter(java.io.File file)
Constructs the writer with the target file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(java.lang.String name,
java.lang.String diagram)
Writes the diagram to the location specified by the writer implementation.
|
public RenderingDiagramWriter(java.io.File file)
file - the output filepublic void write(java.lang.String name,
java.lang.String diagram)
throws java.io.IOException
AbstractDiagramWriterwrite in class AbstractDiagramWritername - the name of the diagramdiagram - the diagramjava.io.IOException - if an I/O error occurs