|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.arakhne.vmutil.OperatingSystemNativeWrapper
class OperatingSystemNativeWrapper
Wrapper to the native 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.
| Constructor Summary | |
|---|---|
OperatingSystemNativeWrapper(OperatingSystemIdentificationType type)
|
|
| Method Summary | |
|---|---|
OperatingSystemIdentificationType |
getIdentificationType()
Replies the type of identification provided by this wrapper. |
String |
getOSSerialNumber(boolean enableSuperUser,
boolean enableGUI)
Get the OS serial number. |
String |
getOSUUID(boolean enableSuperUser,
boolean enableGUI)
Get the OS UUID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperatingSystemNativeWrapper(OperatingSystemIdentificationType type)
type - is the type of identification supported by the wrapper.| Method Detail |
|---|
public String getOSSerialNumber(boolean enableSuperUser,
boolean enableGUI)
getOSSerialNumber in interface OperatingSystemWrapperenableSuperUser - indicates if the super-user commands are enabled or not.enableGUI - indicates if any additional GUI could be opened, or not.
public String getOSUUID(boolean enableSuperUser,
boolean enableGUI)
getOSUUID in interface OperatingSystemWrapperenableSuperUser - indicates if the super-user commands are enabled or not.enableGUI - indicates if any additional GUI could be opened, or not.
public OperatingSystemIdentificationType getIdentificationType()
getIdentificationType in interface OperatingSystemWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||