public interface SystemInformation
SystemUtil.getSystemInformation()| Modifier and Type | Field and Description |
|---|---|
static String |
SYSTEM_TYPE_BSD
The
system-type for a BSD operating system (freeBSD, openBSD, etc.). |
static String |
SYSTEM_TYPE_LINUX
The
system-type for a distribution of Linux (android, ubuntu, kubuntu, debian, openSUSE,
gentoo, fedora, mandriva, etc.). |
static String |
SYSTEM_TYPE_MAC_IOS
The
system-type for a variant of Apples operating system ("Mac OS", "Mac OS X" or any
variant of "iOS"). |
static String |
SYSTEM_TYPE_MAINFRAIME
The
system-type for operating systems dedicated for mainframe machines ([Open]VMS, z/OS,
BS2000, OS/360, OS/390, etc.). |
static String |
SYSTEM_TYPE_OTHER
The
system-type for anything else that is not further classified. |
static String |
SYSTEM_TYPE_UNIX
|
static String |
SYSTEM_TYPE_WINDOWS
The
system-type for a variant of Microsoft Windows (including mobile variants). |
| Modifier and Type | Method and Description |
|---|---|
String |
getSystemArchitecture()
This method gets the architecture of the operating system running this java virtual machine.
|
String |
getSystemName()
This method gets the name of the operating system running this java virtual machine.
|
String |
getSystemType()
This method gets the type of the operating system running this java virtual machine.
|
String |
getSystemVersion()
This method gets the version of the operating system running this java virtual machine in lower-case.
|
boolean |
isLimitedDevice()
This method determines if the operating system running this java virtual machine is for mobile or embedded devices
or maybe tablets but not for full-fledged PC or server machines.
|
static final String SYSTEM_TYPE_WINDOWS
system-type for a variant of Microsoft Windows (including mobile variants).static final String SYSTEM_TYPE_MAC_IOS
system-type for a variant of Apples operating system ("Mac OS", "Mac OS X" or any
variant of "iOS").static final String SYSTEM_TYPE_LINUX
system-type for a distribution of Linux (android, ubuntu, kubuntu, debian, openSUSE,
gentoo, fedora, mandriva, etc.).static final String SYSTEM_TYPE_UNIX
system-type for Unix explicitly excluding Mac OS,
BSD-systems and Linux. This means operating systems like
"[Open]Solaris", "HP-UX", "AIX", "DG/UX", "IRIX" are considered of this type.static final String SYSTEM_TYPE_BSD
system-type for a BSD operating system (freeBSD, openBSD, etc.).static final String SYSTEM_TYPE_MAINFRAIME
system-type for operating systems dedicated for mainframe machines ([Open]VMS, z/OS,
BS2000, OS/360, OS/390, etc.). A mainframe is a (traditional) high-end server.static final String SYSTEM_TYPE_OTHER
system-type for anything else that is not further classified. Please note that in new
releases of this project, a new classification can be added and systems that have been in
SYSTEM_TYPE_OTHER are then of a new type.String getSystemName()
SystemUtil.PROPERTY_OS_NAMEString getSystemArchitecture()
SystemUtil.PROPERTY_OS_NAMEString getSystemVersion()
SystemUtil.PROPERTY_OS_VERSIONString getSystemType()
system-name to make things easier for you.SYSTEM_TYPE_* constants defined in this interface.SYSTEM_TYPE_WINDOWS,
SYSTEM_TYPE_MAC_IOS,
SYSTEM_TYPE_LINUX,
SYSTEM_TYPE_BSD,
SYSTEM_TYPE_UNIX,
SYSTEM_TYPE_OTHERboolean isLimitedDevice()
true if operating system is for limited device, false otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.