stomp.util
Class OsManager

java.lang.Object
  |
  +--stomp.util.OsManager
Direct Known Subclasses:
SystemState

public class OsManager
extends java.lang.Object

knows whether or not we are currently operating ### We can use the following: System.getProperty( "os.name" ) and compare the return string with 'Linux', 'Solaris', 'Windows', etc. ###


Constructor Summary
OsManager()
           
 
Method Summary
static boolean isLinux()
           
static boolean isWindows()
          Returns true if the current JVM runs on Windows platform.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OsManager

public OsManager()
Method Detail

isLinux

public static boolean isLinux()
Returns:
true if we are running on a Linux machine, false otherwise

isWindows

public static boolean isWindows()
Returns true if the current JVM runs on Windows platform.