oracle.forms.jdapi.demo
Class GetVersion

java.lang.Object
  |
  +--oracle.forms.jdapi.demo.GetVersion

public class GetVersion
extends java.lang.Object

Forms JAVA API (JDAPI): Sample 3 - GetVersion
This sample carries out the very simple task of obtaining the version number of Forms that saved a module. However, the sample is more realistic as it introduces constructs such as command line parsing and error handling.

Version:
1.0
Author:
drmills, 10-August-2001

Field Summary
(package private) static java.lang.String s_sample_name
           
(package private) static java.lang.String s_sample_version
           
 
Constructor Summary
GetVersion(java.lang.String[] mainArgs)
          Everything in this class is done in the constructor with the exception of command line parsing.
The JDAPI is also explicitly shutdown when finished with.
 
Method Summary
static void main(java.lang.String[] args)
           
static void printUsage()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_sample_name

static java.lang.String s_sample_name

s_sample_version

static java.lang.String s_sample_version
Constructor Detail

GetVersion

public GetVersion(java.lang.String[] mainArgs)
Everything in this class is done in the constructor with the exception of command line parsing.
The JDAPI is also explicitly shutdown when finished with.
Parameters:
mainArgs - array of strings containing the arguments
Throws:
no - exceptions thrown
Method Detail

main

public static void main(java.lang.String[] args)

printUsage

public static void printUsage()