endrov.starter
Class EvSystemUtil

java.lang.Object
  extended by endrov.starter.EvSystemUtil

public class EvSystemUtil
extends java.lang.Object


Field Summary
static java.lang.String arch
           
static java.lang.String javaver
           
static int javaVerMajor
           
static int javaVerMinor
           
static java.lang.String OS
           
 
Constructor Summary
EvSystemUtil()
           
 
Method Summary
static java.io.File getGlobalConfigEndrovDir()
           
static java.io.File getHomeDir()
          Directory where all user data normally is stored
static java.io.File getJavaenvReadFileName()
           
static java.io.File getJavaenvWriteFileName()
          Get name of javaenv file in case it is stored as an individual file
static java.io.File getLogFileName()
          Get name of log file
static java.io.File getPersonalConfigFileName()
          Get name of config file in case it is stored as an individual file
static java.io.File getSystemConfigFileName()
          Get name of config file in case it is stored as an individual file
static boolean isLinux()
          Check if the system is running Linux
static boolean isMac()
          Check if the system is running a mac
static boolean isPPC()
           
static boolean isWindows()
          Check if the system is running Windows
static boolean isX86()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

javaver

public static final java.lang.String javaver

arch

public static final java.lang.String arch

javaVerMajor

public static final int javaVerMajor

javaVerMinor

public static final int javaVerMinor

OS

public static java.lang.String OS
Constructor Detail

EvSystemUtil

public EvSystemUtil()
Method Detail

getGlobalConfigEndrovDir

public static java.io.File getGlobalConfigEndrovDir()

getPersonalConfigFileName

public static java.io.File getPersonalConfigFileName()
Get name of config file in case it is stored as an individual file


getSystemConfigFileName

public static java.io.File getSystemConfigFileName()
Get name of config file in case it is stored as an individual file


getJavaenvWriteFileName

public static java.io.File getJavaenvWriteFileName()
Get name of javaenv file in case it is stored as an individual file


getJavaenvReadFileName

public static java.io.File getJavaenvReadFileName()

getLogFileName

public static java.io.File getLogFileName()
Get name of log file


getHomeDir

public static java.io.File getHomeDir()
Directory where all user data normally is stored


isMac

public static boolean isMac()
Check if the system is running a mac


isWindows

public static boolean isWindows()
Check if the system is running Windows


isLinux

public static boolean isLinux()
Check if the system is running Linux


isX86

public static boolean isX86()

isPPC

public static boolean isPPC()