org.apache.derby.impl.tools.ij
Class Main14

java.lang.Object
  extended byorg.apache.derby.impl.tools.ij.Main
      extended byorg.apache.derby.impl.tools.ij.Main14

public class Main14
extends Main

This is the controller for the JDBC3.0 version of ij.

This was written to facilitate a test harness for the holding cursors over commit functionality in JDBC3.0.


Field Summary
 
Fields inherited from class org.apache.derby.impl.tools.ij.Main
langUtilClass, out, utilInstance
 
Constructor Summary
Main14()
          create an ij tool waiting to be given input and output streams.
Main14(boolean trash)
          This constructor is only used so that we can get to the right Main based on the JDBC version.
Main14(LocalizedOutput out)
           
 
Method Summary
 Main getMain(LocalizedOutput out)
          Get the right Main (according to the JDBC version.
 utilMain getutilMain(int numConnections, LocalizedOutput out)
          Get the right utilMain (according to the JDBC version.
static void main(java.lang.String[] args)
          ij can be used directly on a shell command line through its main program.
 
Methods inherited from class org.apache.derby.impl.tools.ij.Main
go, go, initAppUI, mainCore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main14

public Main14()
create an ij tool waiting to be given input and output streams.


Main14

public Main14(LocalizedOutput out)

Main14

public Main14(boolean trash)
This constructor is only used so that we can get to the right Main based on the JDBC version. We don't do any work in this constructor and we only use this object to get to the right Main via getMain().

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
ij can be used directly on a shell command line through its main program.

Parameters:
args - allows 1 file name to be specified, from which input will be read; if not specified, stdin is used.
Throws:
java.io.IOException

getMain

public Main getMain(LocalizedOutput out)
Get the right Main (according to the JDBC version.

Overrides:
getMain in class Main
Returns:
The right Main (according to the JDBC version).

getutilMain

public utilMain getutilMain(int numConnections,
                            LocalizedOutput out)
Get the right utilMain (according to the JDBC version.

Overrides:
getutilMain in class Main
Returns:
The right utilMain (according to the JDBC version).

Built on Mon 2007-06-04 09:58:47+0400, from revision ???

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.