public class

SystemInformation

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.client.SystemInformation

Class Overview

Utility routines to retrieve system information such as java version, OS name, locale, etc.

Summary

Fields
public static final String compname
public static final String javavendor
public static final String javaversion
public static final String localeinfo
public static final String osarch
public static final String osfullname
public static final String osname
public static final String osversion
public static final String username
Public Constructors
SystemInformation()
Public Methods
static String determineLinuxOSFullname(String releaseFilePath)
static String getCurrentDirectory()
static String setCurrentDirectory(String cd)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final String compname

public static final String javavendor

public static final String javaversion

public static final String localeinfo

public static final String osarch

public static final String osfullname

public static final String osname

public static final String osversion

public static final String username

Public Constructors

public SystemInformation ()

Public Methods

public static String determineLinuxOSFullname (String releaseFilePath)

public static String getCurrentDirectory ()

Returns
  • the current directory

public static String setCurrentDirectory (String cd)

Parameters
cd the new current directory
Returns
  • the previous current directory