-
- All Known Implementing Classes:
AbstractOperatingSystemWrapper,OperatingSystemAndroidWrapper,OperatingSystemDiskUtilWrapper,OperatingSystemNativeWrapper,OperatingSystemUDevWrapper,OperatingSystemUnknownOsWrapper
interface OperatingSystemWrapperWrapper to the OS dependent functions. This class was introduced to avoid to kill the current JVM even if the native functions are unloadable. In this way, on operating system without the support for the native libs is still able to be run.- Since:
- 6.3
- Version:
- 17.0 2020-01-04 14:41:35
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- vmutils
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperatingSystemIdentificationTypegetIdentificationType()Replies the type of identification provided by this wrapper.StringgetOSSerialNumber(boolean enableSuperUser, boolean enableGUI)Get the OS serial number.StringgetOSUUID(boolean enableSuperUser, boolean enableGUI)Get the OS UUID.
-
-
-
Method Detail
-
getIdentificationType
@Pure OperatingSystemIdentificationType getIdentificationType()
Replies the type of identification provided by this wrapper.- Returns:
- the type of identification provided by this wrapper.
-
getOSSerialNumber
@Pure String getOSSerialNumber(boolean enableSuperUser, boolean enableGUI)
Get the OS serial number.- Parameters:
enableSuperUser- indicates if the super-user commands are enabled or not.enableGUI- indicates if any additional GUI could be opened, or not.- Returns:
- the serial number associated to the current operating system.
-
getOSUUID
@Pure String getOSUUID(boolean enableSuperUser, boolean enableGUI)
Get the OS UUID.- Parameters:
enableSuperUser- indicates if the super-user commands are enabled or not.enableGUI- indicates if any additional GUI could be opened, or not.- Returns:
- an unique identifier for the current operating system.
-
-