Class AbstractDiagramWriter
- java.lang.Object
-
- io.gitlab.plunts.gradle.plantuml.plugin.output.AbstractDiagramWriter
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DefaultDiagramWriter,InsertingDiagramWriter,RenderingDiagramWriter
public abstract class AbstractDiagramWriter extends java.lang.Object implements java.io.SerializableBase class for diagram writers, which are write the result of the builder "somewhere".
-
-
Constructor Summary
Constructors Constructor Description AbstractDiagramWriter()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidwrite(java.lang.String name, java.lang.String diagram)Writes the diagram to the location specified by the writer implementation.
-
-
-
Method Detail
-
write
public abstract void write(java.lang.String name, java.lang.String diagram) throws java.io.IOExceptionWrites the diagram to the location specified by the writer implementation.- Parameters:
name- the name of the diagramdiagram- the diagram- Throws:
java.io.IOException- if an I/O error occurs
-
-