java.lang.Object
com.github.kwhat.jnativehook.NativeSystem
A small class to determine the native system's operating system family and architecture. The
class is only used to determine which native library to unpack and load at runtime. This class is
never used if the native library is loaded using the
java.library.path property.- Since:
- 1.0
- Version:
- 2.2
- Author:
- Alexander Barker (alex@1stleg.com)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe system architecture enum.static enumThe operating system family enum. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NativeSystem.ArchDetermines the current system architecture.static NativeSystem.FamilyDetermines the current operating system family.
-
Constructor Details
-
NativeSystem
public NativeSystem()
-
-
Method Details
-
getFamily
Determines the current operating system family.- Returns:
- The current operating system family enum item.
-
getArchitecture
Determines the current system architecture.- Returns:
- The current system architecture.
-