+ }
+ }
+
+ /**
+ * @param graph
+ * @param monitor
+ * the progress monitor to use for reporting progress to the
+ * user. It is the caller's responsibility to call done() on the
+ * given monitor. Accepts <code>null</code>, indicating that no
+ * progress should be reported and that the operation cannot be
+ * cancelled.</pre>
+ * @param file
+ * @param columnSeparator
+ * @throws DatabaseException
+ * @throws IOException
+ */
+ public void exportCsv(ReadGraph graph, IProgressMonitor monitor, File file, String columnSeparator) throws DatabaseException, IOException {
+ try (PrintStream out = new PrintStream(file)) {
+ exportCsv(graph, monitor, out, columnSeparator);