com.pentec.adapt
Class Adapt

java.lang.Object
  extended by com.pentec.adapt.Adapt

public class Adapt
extends java.lang.Object

Advanced Data Analysis and Presentation Toolkit

Author:
Pender Technology

Field Summary
static java.lang.String $VERSION
          ADAPT version number
static boolean isApplet
          Flag to signal that this instance is in applet mode
static boolean isOpenOfficeInstance
          Flag to signal that this instance of ADAPT was opened from OpenOffice
static java.io.PrintWriter logFile
          The ADAPT error log file
static java.io.File[] logFiles
          Log files used by ADAPT starting with the most recent
static AProperties properties
          ADAPT properties file
private static int SPLASHFRAMEHEIGHT
          Splash screen dimensions
private static int SPLASHFRAMEWIDTH
           
private static java.util.Hashtable versionTable
           
 
Constructor Summary
Adapt()
           
 
Method Summary
private static void checkComm()
           
private static boolean checkJai()
           
private static boolean checkPackage(java.lang.String $Jar)
          Check a jar file and determine if it is an up-to-date version based on the version table embedded in this class.
private static boolean checkVersions()
          Check for correct version of Java Advanced Imaging library, Java Comm library, all ADAPT jar files, and all ADAPT dll files
static void exit(int iStatus)
          Close the ADAPT log file and print a notice to the standard output device if errors have been logged during the current session
private static boolean isGTorE(java.lang.String $1, java.lang.Object string2)
           
static void main(java.lang.String[] a$)
           
static void setBounds(DataFrame aframe)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

$VERSION

public static final java.lang.String $VERSION
ADAPT version number


isApplet

public static boolean isApplet
Flag to signal that this instance is in applet mode


isOpenOfficeInstance

public static boolean isOpenOfficeInstance
Flag to signal that this instance of ADAPT was opened from OpenOffice


logFile

public static java.io.PrintWriter logFile
The ADAPT error log file


logFiles

public static final java.io.File[] logFiles
Log files used by ADAPT starting with the most recent


properties

public static AProperties properties
ADAPT properties file


SPLASHFRAMEHEIGHT

private static final int SPLASHFRAMEHEIGHT
Splash screen dimensions

See Also:
Constant Field Values

SPLASHFRAMEWIDTH

private static final int SPLASHFRAMEWIDTH
See Also:
Constant Field Values

versionTable

private static java.util.Hashtable versionTable
Constructor Detail

Adapt

public Adapt()
Method Detail

checkComm

private static void checkComm()

checkJai

private static boolean checkJai()

checkPackage

private static boolean checkPackage(java.lang.String $Jar)
Check a jar file and determine if it is an up-to-date version based on the version table embedded in this class.

Parameters:
$Jar - the name of the jar file
Returns:
true if the current version is OK, false if it needs to be updated

checkVersions

private static boolean checkVersions()
Check for correct version of Java Advanced Imaging library, Java Comm library, all ADAPT jar files, and all ADAPT dll files


exit

public static void exit(int iStatus)
Close the ADAPT log file and print a notice to the standard output device if errors have been logged during the current session

Parameters:
iStatus - exit status

isGTorE

private static boolean isGTorE(java.lang.String $1,
                               java.lang.Object string2)

main

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

setBounds

public static void setBounds(DataFrame aframe)