Class VisualShareExporter


  • public class VisualShareExporter
    extends Object
    Helper class that transforms provided visual shares back to png format and persists them on disk.
    • Constructor Detail

      • VisualShareExporter

        public VisualShareExporter()
    • Method Detail

      • exportVisualShare

        public static void exportVisualShare​(boolean[][] visualShare,
                                             File outputDir,
                                             String fileName,
                                             String imageFormat)
        Transforms provided visual shares back to png format and persists them on disk.
        Parameters:
        visualShare - as the boosted, graphic version of a compact share.
        outputDir - as the location on file system where the share is stored as png file.
        fileName - as the name on disk to use for the persisted file.