Compiere 3.1

org.compiere
Class Compiere

java.lang.Object
  extended by org.compiere.Compiere

public final class Compiere
extends Object

Compiere Control Class

Version:
$Id: Compiere.java 5955 2008-07-30 20:34:48Z freyes $
Author:
Jorg Janke

Field Summary
static String COMPIERE_R
          Compiere is a wordwide registered Trademark - Don't modify this - Program will someday fail unexpectedly
static String COPYRIGHT
          Copyright Notice - Don't modify this - Program will someday fail unexpectedly it also violates the license and you'll be held liable for any damage claims
static String DATE_VERSION
          Detail Version as date Used for Client/Server
static String DB_VERSION
          Database Version as date Compared with AD_System
static String MAIN_VERSION
          Main Version String
static String NAME
          Product Name
static String SUB_TITLE
          Subtitle
static String URL
          URL of Product
 
Constructor Summary
Compiere()
           
 
Method Summary
static int getCheckSum()
          Get Checksum
static String getCompiereHome()
          Get default (Home) directory
static String getEnvInfo(boolean isClient, String info)
          Get Environment Info
static Image getImage16()
          Get 16x16 Image.
static ImageIcon getImageIcon32()
          Get 32x32 ImageIcon.
static ImageIcon getImageIconLogo()
          Get Medium ImageIcon.
static Image getImageLogo()
          Get Small Logo Image.
static Image getImageLogoSmall(boolean hr)
          Get 28*15 Logo Image.
static String getImplementationVendor()
          Get Jar Implementation Vendor
static String getImplementationVersion()
          Get Jar Implementation Version
static String getJavaInfo()
          Get Java VM Info
static String getName()
          Get Product Name
static String getOSInfo()
          Get Operating System Info
static String getSubtitle()
          Get Sub Title
static String getSum()
          Short Summary (Windows)
static String getSummary()
          Summary (Windows).
static String getSummaryAscii()
          Summary in ASCII
static String getSupportEMail()
          Get Support Email
static String getURL()
          Get full URL
static String getVersion()
          Get Product Version
static void main(String[] args)
          Main Method
static void setSupportEMail(String email)
          Set Support Email
static boolean startup(boolean isClient)
          Startup - compatibility - for Test
static boolean startup(boolean isClient, boolean isUserProperty, String info)
           
static boolean startup(boolean isClient, String info)
          Startup Client/Server
static boolean startupEnvironment(boolean isClient)
          Deprecated.  
static boolean startupEnvironment(boolean isClient, String info)
          Startup Compiere Environment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAIN_VERSION

public static final String MAIN_VERSION
Main Version String

See Also:
Constant Field Values

DATE_VERSION

public static final String DATE_VERSION
Detail Version as date Used for Client/Server

See Also:
Constant Field Values

DB_VERSION

public static final String DB_VERSION
Database Version as date Compared with AD_System

See Also:
Constant Field Values

NAME

public static final String NAME
Product Name

See Also:
Constant Field Values

URL

public static final String URL
URL of Product

See Also:
Constant Field Values

SUB_TITLE

public static final String SUB_TITLE
Subtitle

See Also:
Constant Field Values

COMPIERE_R

public static final String COMPIERE_R
Compiere is a wordwide registered Trademark - Don't modify this - Program will someday fail unexpectedly

See Also:
Constant Field Values

COPYRIGHT

public static final String COPYRIGHT
Copyright Notice - Don't modify this - Program will someday fail unexpectedly it also violates the license and you'll be held liable for any damage claims

See Also:
Constant Field Values
Constructor Detail

Compiere

public Compiere()
Method Detail

getName

public static String getName()
Get Product Name

Returns:
Application Name

getVersion

public static String getVersion()
Get Product Version

Returns:
Application Version

getSum

public static String getSum()
Short Summary (Windows)

Returns:
summary

getSummary

public static String getSummary()
Summary (Windows). Removing/modifying the Compiere copyright notice is a violation of the license Compiere(tm) Version 2.5.1a_2004-03-15 - Smart ERP & CRM - Copyright (c) 1999-2005 Jorg Janke; Implementation: 2.5.1a 20040417-0243 - (C) 1999-2005 Jorg Janke, ComPiere Inc. USA

Returns:
Summary in Windows character set

getImplementationVersion

public static String getImplementationVersion()
Get Jar Implementation Version

Returns:
Implementation-Version

getImplementationVendor

public static String getImplementationVendor()
Get Jar Implementation Vendor

Returns:
Implementation-Vendor

getCheckSum

public static int getCheckSum()
Get Checksum

Returns:
checksum

getSummaryAscii

public static String getSummaryAscii()
Summary in ASCII

Returns:
Summary in ASCII

getEnvInfo

public static String getEnvInfo(boolean isClient,
                                String info)
Get Environment Info

Parameters:
isClient - client
info - additional info
Returns:
info

getJavaInfo

public static String getJavaInfo()
Get Java VM Info

Returns:
VM info

getOSInfo

public static String getOSInfo()
Get Operating System Info

Returns:
OS info

getURL

public static String getURL()
Get full URL

Returns:
URL

getSubtitle

public static String getSubtitle()
Get Sub Title

Returns:
Subtitle

getImage16

public static Image getImage16()
Get 16x16 Image. Removing/modifying the Compiere logo is a violation of the license

Returns:
Image Icon

getImageLogoSmall

public static Image getImageLogoSmall(boolean hr)
Get 28*15 Logo Image.

Parameters:
hr - high resolution
Returns:
Image Icon

getImageLogo

public static Image getImageLogo()
Get Small Logo Image.

Returns:
Image Logo

getImageIcon32

public static ImageIcon getImageIcon32()
Get 32x32 ImageIcon. Removing/modifying the Compiere logo is a violation of the license

Returns:
Image Icon

getImageIconLogo

public static ImageIcon getImageIconLogo()
Get Medium ImageIcon. Removing/modifying the Compiere logo is a violation of the license

Returns:
Image Icon

getCompiereHome

public static String getCompiereHome()
Get default (Home) directory

Returns:
Home directory

getSupportEMail

public static String getSupportEMail()
Get Support Email

Returns:
Support mail address

setSupportEMail

public static void setSupportEMail(String email)
Set Support Email

Parameters:
email - Support mail address

startup

public static boolean startup(boolean isClient)
Startup - compatibility - for Test

Parameters:
isClient - client session
Returns:
successful startup

startupEnvironment

@Deprecated
public static boolean startupEnvironment(boolean isClient)
Deprecated. 

Startup Environment - compatibility

Parameters:
isClient -
Returns:
successful startup

startup

public static boolean startup(boolean isClient,
                              String info)
Startup Client/Server. - Print greeting, - Check Java version and - load Ini parameters If it is a client, load/set PLAF and exit if error. If Client, you need to call startupEnvironment explicitly! For testing call method startupEnvironment

Parameters:
isClient - true for client
isUserProperty - true if we should use the Compiere.properties in the user home directory, false if we should use the one in the compiere home directory
info - info
Returns:
successful startup

startup

public static boolean startup(boolean isClient,
                              boolean isUserProperty,
                              String info)

startupEnvironment

public static boolean startupEnvironment(boolean isClient,
                                         String info)
Startup Compiere Environment. Automatically called for Server connections For testing call this method.

Parameters:
isClient - true if client connection
Returns:
successful startup

main

public static void main(String[] args)
Main Method

Parameters:
args - optional start class

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.