Class bdd.search.query.DBQuery
All Packages Class Hierarchy This Package Previous Next Index
Class bdd.search.query.DBQuery
java.lang.Object
|
+----bdd.search.query.DBQuery
- public class DBQuery
- extends Object
Written by Tim Macinta 1997
Distributed under the GNU Public License
(a copy of which is enclosed with the source).
This class searches the database for the given query.
-
DBQuery(String, EnginePrefs)
-
-
dumpResults(OutputStream)
-
-
main(String[])
- This is the method that is called when this class is invoked from the
command line.
DBQuery
public DBQuery(String query,
EnginePrefs prefs)
dumpResults
public void dumpResults(OutputStream stream) throws IOException
main
public static void main(String arg[])
- This is the method that is called when this class is invoked from the
command line. If this method is called, the first argument (arg[0])
is used as a new query and the results are piped to standard output.
This could be used as a means for providing a cgi interface to the
search database, although it isn't as efficient as running the
custom web server that was built for this since running this via
cgi requires starting a new copy of the Java Virtual Machine each
time it is run.
All Packages Class Hierarchy This Package Previous Next Index