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 Type
    Method
    Description
    <La extends L>
    void
    exportVariationDiff(VariationDiff<La> variationDiff, OutputStream destination)
    Export a variationDiff into destination.
  • Method Details

    • exportVariationDiff

      <La extends L> void exportVariationDiff(VariationDiff<La> variationDiff, OutputStream destination) throws IOException
      Export a variationDiff into destination. This method should have no side effects besides writing to destination. 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, that destination is sufficiently buffered.
      Parameters:
      variationDiff - to be exported
      destination - where the result should be written
      Throws:
      IOException