net.sf.jnati
Class SystemTyper
java.lang.Object
net.sf.jnati.SystemTyper
public class SystemTyper
- extends 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemTyper
public SystemTyper(String filename)
getDefaultInstance
public static SystemTyper getDefaultInstance()
detectPlatform
public SystemType detectPlatform()
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
Copyright © 2007-2011 Sam Adams. All Rights Reserved.