Package net.sf.jnati

Class SystemTyper


  • public class SystemTyper
    extends java.lang.Object
    Uses specifications from META-INF/jnati/system.txt to detect the current operating system/platform. 32bit (eg X86) vs 64bit (eg X86_64) is on the basis of the current JVM, not the underlying operating system.
    Author:
    Sam Adams
    • Constructor Detail

      • SystemTyper

        public SystemTyper​(java.lang.String filename)
    • Method Detail

      • getDefaultInstance

        public static SystemTyper getDefaultInstance()
      • detectPlatform

        public SystemType detectPlatform()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException