@Override public void exportTable(Connection connection, String tableReference, File fileName, ProgressVisitor progress) throws SQLException, IOException{ exportTable(connection,tableReference, fileName,progress, null); }
/** * Write the GeoJSON file. * * @param connection * @param fileName * @param tableReference * @param encoding * @throws IOException * @throws SQLException */ public static void writeGeoJson(Connection connection, String fileName, String tableReference, String encoding) throws IOException, SQLException { GeoJsonDriverFunction geoJsonDriver = new GeoJsonDriverFunction(); geoJsonDriver.exportTable(connection,tableReference, URIUtilities.fileFromString(fileName), new EmptyProgressVisitor(),encoding); }
/** * Write the GeoJSON file. * * @param connection * @param fileName * @param tableReference * @throws IOException * @throws SQLException */ public static void writeGeoJson(Connection connection, String fileName, String tableReference) throws IOException, SQLException { GeoJsonDriverFunction gjdf = new GeoJsonDriverFunction(); gjdf.exportTable(connection, tableReference, URIUtilities.fileFromString(fileName), new EmptyProgressVisitor()); } }
/** * Write the GeoJSON file. * * @param connection * @param fileName * @param tableReference * @throws IOException * @throws SQLException */ public static void writeGeoJson(Connection connection, String fileName, String tableReference) throws IOException, SQLException { GeoJsonDriverFunction gjdf = new GeoJsonDriverFunction(); gjdf.exportTable(connection, tableReference, URIUtilities.fileFromString(fileName), new EmptyProgressVisitor()); } }