net.sf.jnati
Class SystemTyper

java.lang.Object
  extended by 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

Constructor Summary
SystemTyper(String filename)
           
 
Method Summary
 SystemType detectPlatform()
           
static SystemTyper getDefaultInstance()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemTyper

public SystemTyper(String filename)
Method Detail

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.