Package net.sf.jnati
Class SystemTyper
- java.lang.Object
-
- net.sf.jnati.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 Summary
Constructors Constructor Description SystemTyper(java.lang.String filename)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SystemType
detectPlatform()
static SystemTyper
getDefaultInstance()
static void
main(java.lang.String[] args)
-
-
-
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
-
-