This was written to facilitate a test harness for language functionality tests.
| Modifier and Type | Field and Description |
|---|---|
| private utilMain |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | Main(boolean trash)
This constructor is only used so that we can get to the right Main based on the JDBC version. |
| Modifier and Type | Method and Description |
|---|---|
| public Main | Returns: The right main (according to the JDBC version).Get the right Main (according to the JDBC version. |
| public utilMain | Returns: The right utilMain (according to the JDBC version).Get the right utilMain (according to the JDBC version. |
| public utilMain | Returns: The right utilMain (according to the JDBC version).Get the right utilMain (according to the JDBC version. |
| private void | go(LocalizedInput in, LocalizedOutput out)
Give a shortcut to go on the utilInstance so we don't expose utilMain. |
| private void | |
| public static void | |
| public static void |
| utilInstance | back to summary |
|---|---|
| private utilMain utilInstance | |
| Main | back to summary |
|---|---|
| public Main() create an ij tool waiting to be given input and output streams. | |
| Main | back to summary |
|---|---|
| public Main(LocalizedOutput out) | |
| Main | back to summary |
|---|---|
| public Main(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(). | |
| getMain | back to summary |
|---|---|
| public Main getMain(LocalizedOutput out) Get the right Main (according to the JDBC version.
| |
| getutilMain | back to summary |
|---|---|
| public utilMain getutilMain(int numConnections, LocalizedOutput out) Get the right utilMain (according to the JDBC version.
| |
| getutilMain | back to summary |
|---|---|
| public utilMain getutilMain(int numConnections, LocalizedOutput out, boolean loadSystemProperties) Get the right utilMain (according to the JDBC version. This overload allows the choice of whether the system properties will be used or not.
| |
| go | back to summary |
|---|---|
| private void go(LocalizedInput in, LocalizedOutput out) Give a shortcut to go on the utilInstance so we don't expose utilMain. | |
| initAppUI | back to summary |
|---|---|
| private void initAppUI() | |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws IOException ij can be used directly on a shell command line through its main program.
| |
| mainCore | back to summary |
|---|---|
| public static void mainCore(String[] args, Main main) throws IOException | |