Interface Exporter<L extends Label>
- All Known Implementing Classes:
GraphvizExporter
,LineGraphExporter
,TikzExporter
public interface Exporter<L extends Label>
Common interface for serialisation of a single
VariationDiff
.
Not all formats have to provide a way to deserialize a VariationDiff
from this format.- Author:
- Benjamin Moosherr
-
Method Summary
Modifier and TypeMethodDescription<La extends L>
voidexportVariationDiff
(VariationDiff<La> variationDiff, OutputStream destination) Export avariationDiff
intodestination
.
-
Method Details
-
exportVariationDiff
<La extends L> void exportVariationDiff(VariationDiff<La> variationDiff, OutputStream destination) throws IOException Export avariationDiff
intodestination
. This method should have no side effects besides writing todestination
. Above all,variationDiff
shouldn't be modified. Furthermore,destination
shouldn't be closed to allow the embedding of the exported format into a surrounding file. It can be assumed, thatdestination
is sufficiently buffered.- Parameters:
variationDiff
- to be exporteddestination
- where the result should be written- Throws:
IOException
-