rendered paste bodypackage sqlquerygenerator;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Hashtable;
public class DatabaseSchemaInterpreter {
public Hashtable<String, Hashtable<String, String>> readSchemaFile(
String fileName) {
Hashtable<String, Hashtable<String, String>> tableAndColumnNames;
try {
Hashtable<String, String> columnNamesAndTypes = new Hashtable<String, String>();
String currentLine;
BufferedReader bReader = new BufferedReader(
new FileReader(fileName));
while ((currentLine = bReader.readLine()) != null) {
String[] currentLineFields = currentLine.split(" ");
}
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
return tableAndColumnNames;
}
}