org.grinvin.io.graphs

Class GraphBundleSaver


public class GraphBundleSaver
extends java.lang.Object

Saves a GraphBundleView onto an output stream.

Method Summary

static void
save(GraphBundleView bundle, SectionSaver ssaver, String path)
static void
saveToZip(GraphBundleView bundle, OutputStream out)
Save the bundle onto the output stream.

Method Details

save

public static void save(GraphBundleView bundle,
                        SectionSaver ssaver,
                        String path)
            throws IOException

saveToZip

public static void saveToZip(GraphBundleView bundle,
                             OutputStream out)
            throws IOException
Save the bundle onto the output stream.
Parameters:
bundle - Bundle which should be saved
out - Output stream to which the bundle should be written