Class NativeSystem


  • public class NativeSystem
    extends Object
    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)
    • Constructor Detail

      • NativeSystem

        public NativeSystem()
    • Method Detail

      • getFamily

        public static NativeSystem.Family getFamily()
        Determines the current operating system family.
        Returns:
        The current operating system family enum item.
      • getArchitecture

        public static NativeSystem.Arch getArchitecture()
        Determines the current system architecture.
        Returns:
        The current system architecture.