Package com.pnfsoftware.jeb.client
Class SystemInformation
java.lang.Object
com.pnfsoftware.jeb.client.SystemInformation
Utility routines to retrieve system information such as java version, OS name, locale, etc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringthe computer name, may be empty but never nullstatic final Stringthe java.vendor property, may be empty but never nullstatic final Stringthe java.version property, may be empty but never nullstatic final Stringthe system's locale, may be empty but never nullstatic final Stringthe os.arch property, may be empty but never nullstatic final Stringthe operating system full name, may be empty but never nullstatic final Stringthe os.name property, may be empty but never nullstatic final Stringthe os.version property, may be empty but never nullstatic final Stringthe user.name property, may be empty but never null -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdetermineLinuxOSFullname(String releaseFilePath) static Stringstatic String
-
Field Details
-
javavendor
the java.vendor property, may be empty but never null -
javaversion
the java.version property, may be empty but never null -
osname
the os.name property, may be empty but never null -
osarch
the os.arch property, may be empty but never null -
osversion
the os.version property, may be empty but never null -
username
the user.name property, may be empty but never null -
compname
the computer name, may be empty but never null -
localeinfo
the system's locale, may be empty but never null -
osfullname
the operating system full name, may be empty but never null
-
-
Constructor Details
-
SystemInformation
public SystemInformation()
-
-
Method Details
-
getCurrentDirectory
- Returns:
- the current directory
-
setCurrentDirectory
- Parameters:
cd- the new current directory- Returns:
- the previous current directory
-
determineLinuxOSFullname
-