Mercurial > hg > monetdb-java
diff src/main/java/nl/cwi/monetdb/util/Exporter.java @ 70:17fbaf2635bb
Expand import java.*.* statements
Also removed trailing spaces and tabs
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 08 Dec 2016 16:23:46 +0100 (2016-12-08) |
parents | a5a898f6886c |
children | b9b35ca2eec2 |
line wrap: on
line diff
--- a/src/main/java/nl/cwi/monetdb/util/Exporter.java +++ b/src/main/java/nl/cwi/monetdb/util/Exporter.java @@ -8,11 +8,12 @@ package nl.cwi.monetdb.util; -import java.io.*; -import java.sql.*; +import java.io.PrintWriter; +import java.sql.DatabaseMetaData; +import java.sql.ResultSet; +import java.sql.SQLException; import java.util.Arrays; - public abstract class Exporter { protected PrintWriter out; protected boolean useSchema; @@ -32,13 +33,13 @@ public abstract class Exporter { public abstract void setProperty(int type, int value) throws Exception; public abstract int getProperty(int type) throws Exception; - + //=== shared utilities - + public void useSchemas(boolean use) { useSchema = use; } - + /** * returns the given string between two double quotes for usage as * identifier such as column or table name in SQL queries.