-
- All Known Implementing Classes:
GraphicalDotWriter,GraphicalMermaidWriter
public interface GraphicalRepresentationWriterAn interface for writers of graphical representations of formulas, BDDs, and graphs.- Since:
- 2.4.0
- Version:
- 2.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StringstringValue(GraphicalRepresentation representation)Returns the string value of this writer's graphical representation.default voidwrite(File file, GraphicalRepresentation representation)Writes a given graphical representation to a given file.voidwrite(Writer writer, GraphicalRepresentation representation)Writes a given graphical representation with the given writer.default voidwrite(String fileName, GraphicalRepresentation representation)Writes a given graphical representation to a file with the given file name.
-
-
-
Method Detail
-
write
void write(Writer writer, GraphicalRepresentation representation) throws IOException
Writes a given graphical representation with the given writer.- Parameters:
writer- the writerrepresentation- the representation to write- Throws:
IOException- if there is a problem during writing
-
write
default void write(String fileName, GraphicalRepresentation representation) throws IOException
Writes a given graphical representation to a file with the given file name.- Parameters:
fileName- the file name for the output filerepresentation- the representation to write- Throws:
IOException- if there is a problem during writing the file
-
write
default void write(File file, GraphicalRepresentation representation) throws IOException
Writes a given graphical representation to a given file.- Parameters:
file- the file for the outputrepresentation- the representation to write- Throws:
IOException- if there is a problem during writing the file
-
stringValue
default String stringValue(GraphicalRepresentation representation)
Returns the string value of this writer's graphical representation.- Parameters:
representation- the representation- Returns:
- the string value of the representation
-
-