net.datacrow.core
Class Platform

java.lang.Object
  extended by net.datacrow.core.Platform

public final class Platform
extends java.lang.Object

Describes the platform on which Data Crow is running.

Author:
Robert Jan van der Waals.

Constructor Summary
protected Platform()
           
 
Method Summary
 boolean isJava14()
          Indicates if the Data Crow is running on Java 1.4.
 boolean isJava15()
          Indicates if the Data Crow is running on Java 1.5.
 boolean isJava16()
          Indicates if the Data Crow is running on Java 1.6.
 boolean isJava2()
          Indicates if the Data Crow is running on Java 1.2.
 boolean isJavaSun()
          Indicates if the Java version is from Sun
 boolean isLinux()
          Indicates if the Data Crow is running on a Linux platform.
 boolean isMac()
          Indicates if the Data Crow is running on a Macintosh (Mac OS) platform.
 boolean isVista()
          Indicates if the Data Crow is running on a Windows Vista platform.
 boolean isWin()
          Indicates if the Data Crow is running on a Windows platform.
 boolean isWindows7()
           
 boolean isWindows8()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Platform

protected Platform()
Method Detail

isWin

public final boolean isWin()
Indicates if the Data Crow is running on a Windows platform.


isMac

public final boolean isMac()
Indicates if the Data Crow is running on a Macintosh (Mac OS) platform.


isLinux

public final boolean isLinux()
Indicates if the Data Crow is running on a Linux platform.


isJavaSun

public final boolean isJavaSun()
Indicates if the Java version is from Sun


isWindows7

public boolean isWindows7()

isWindows8

public boolean isWindows8()

isVista

public final boolean isVista()
Indicates if the Data Crow is running on a Windows Vista platform.


isJava2

public final boolean isJava2()
Indicates if the Data Crow is running on Java 1.2.


isJava14

public final boolean isJava14()
Indicates if the Data Crow is running on Java 1.4.


isJava15

public final boolean isJava15()
Indicates if the Data Crow is running on Java 1.5.


isJava16

public final boolean isJava16()
Indicates if the Data Crow is running on Java 1.6.