ucar.unidata.ui
Class SqlShell

java.lang.Object
  extended by ucar.unidata.ui.InteractiveShell
      extended by ucar.unidata.ui.SqlShell
All Implemented Interfaces:
EventListener, HyperlinkListener

public class SqlShell
extends InteractiveShell

This class provides an interactive shell to query a sql database

Version:
$Revision: 1.50 $Date: 2007/08/21 12:15:45 $
Author:
IDV development team

Field Summary
 
Fields inherited from class ucar.unidata.ui.InteractiveShell
commandArea, commandFld, contents, editorPane, frame, history, historyIdx, sb
 
Constructor Summary
SqlShell(String title, Connection connection)
          _more_
 
Method Summary
 void eval(String sql)
          _more_
 
Methods inherited from class ucar.unidata.ui.InteractiveShell
clear, clearOutput, close, doMakeContents, doMakeMenuBar, endBufferingOutput, eval, flipField, formatCode, getHref, handleKeyPress, handleRightMouseClick, hyperlinkUpdate, init, insert, insertText, makeFrame, output, setText, show, showNormalCursor, showWaitCursor, startBufferingOutput, toFront
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlShell

public SqlShell(String title,
                Connection connection)
_more_

Parameters:
title - _more_
Method Detail

eval

public void eval(String sql)
_more_

Overrides:
eval in class InteractiveShell
Parameters:
sql - the sql to evaluate