public java.util.Enumeration listOptions() {
FastVector newVector = new FastVector();
newVector.addElement(
new Option(
"\tThe JDBC URL to connect to.\n"
+ "\t(default: from DatabaseUtils.props file)",
"url",
1,
"-url <JDBC URL>"));
newVector.addElement(
new Option(
"\tThe user to connect with to the database.\n"
+ "\t(default: none)",
"user",
1,
"-user <name>"));
newVector.addElement(
new Option(
"\tThe password to connect with to the database.\n"
+ "\t(default: none)",
"password",
1,
"-password <password>"));
newVector.addElement(
new Option(
"\tSQL query of the form\n"
+ "\t\tSELECT <list of columns>|* FROM <table> [WHERE]\n"
+ "\tto execute.\n"
+ "\t(default: Select * From Results0)",
"Q",
1,
"-Q <query>"));
newVector.addElement(
new Option(
"\tList of column names uniquely defining a DB row\n"
+ "\t(separated by ', ').\n"
+ "\tUsed for incremental loading.\n"
+ "\tIf not specified, the key will be determined automatically,\n"
+ "\tif possible with the used JDBC driver.\n"
+ "\tThe auto ID column created by the DatabaseSaver won't be loaded.",
"P",
1,
"-P <list of column names>"));
newVector.addElement(
new Option("\tSets incremental loading", "I", 0, "-I"));
return newVector.elements();
}