Package eu.kartoffelquadrat.visucrypt
Class VisualShareExporter
- java.lang.Object
-
- eu.kartoffelquadrat.visucrypt.VisualShareExporter
-
public class VisualShareExporter extends Object
Helper class that transforms provided visual shares back to png format and persists them on disk.
-
-
Constructor Summary
Constructors Constructor Description VisualShareExporter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidexportVisualShare(boolean[][] visualShare, File outputDir, String fileName, String imageFormat)Transforms provided visual shares back to png format and persists them on disk.
-
-
-
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.
-
-