Back to index

wims  3.65+svn20090927
Public Member Functions | Public Attributes
WIMSchem.CheckVersion Class Reference
Inheritance diagram for WIMSchem.CheckVersion:
Inheritance graph
[legend]
Collaboration diagram for WIMSchem.CheckVersion:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void init ()
void stop ()
void destroy ()
String getVersion ()

Public Attributes

String Version = System.getProperty("java.version")

Detailed Description

Definition at line 29 of file CheckVersion.java.


Member Function Documentation

void WIMSchem.CheckVersion.destroy ( ) [inline]

Definition at line 32 of file CheckVersion.java.

{}
String WIMSchem.CheckVersion.getVersion ( ) [inline]

Definition at line 35 of file CheckVersion.java.

                              {
       String[] v=Version.split("\\.");
       String version="";// 1.5.0_test123
       for(int p=0;p<v.length;p++){
           if(v[p].length() == 1 || v[p]!=null){
              version=version+""+v[p];
           }
       }
       if(version.length()!=3){
           if(version.length()==1){version=version+"00";}
           if(version.length()==2){version=version+"0";}
       }
       return version;
    }
void WIMSchem.CheckVersion.init ( ) [inline]

Definition at line 30 of file CheckVersion.java.

{}
void WIMSchem.CheckVersion.stop ( ) [inline]

Definition at line 31 of file CheckVersion.java.

{}

Member Data Documentation

String WIMSchem.CheckVersion.Version = System.getProperty("java.version")

Definition at line 33 of file CheckVersion.java.


The documentation for this class was generated from the following file: