abbot
Class Platform

java.lang.Object
  extended by abbot.Platform

public class Platform
extends Object

Simple utility to figure out what platform we're on, what java version we're running.


Field Summary
static int JAVA_1_0
           
static int JAVA_1_1
           
static int JAVA_1_2
           
static int JAVA_1_3
           
static int JAVA_1_4
           
static int JAVA_1_5
           
static int JAVA_1_6
           
static int JAVA_VERSION
           
static String JAVA_VERSION_STRING
           
static String OS_NAME
           
 
Method Summary
static boolean isHPUX()
           
static boolean isLinux()
           
static boolean isMacintosh()
           
static boolean isOSX()
           
static boolean isSolaris()
           
static boolean isWindows()
           
static boolean isWindows9X()
           
static boolean isWindowsXP()
           
static boolean isX11()
           
static void main(String[] args)
           
(package private) static int parse(String vs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVA_1_0

public static final int JAVA_1_0
See Also:
Constant Field Values

JAVA_1_1

public static final int JAVA_1_1
See Also:
Constant Field Values

JAVA_1_2

public static final int JAVA_1_2
See Also:
Constant Field Values

JAVA_1_3

public static final int JAVA_1_3
See Also:
Constant Field Values

JAVA_1_4

public static final int JAVA_1_4
See Also:
Constant Field Values

JAVA_1_5

public static final int JAVA_1_5
See Also:
Constant Field Values

JAVA_1_6

public static final int JAVA_1_6
See Also:
Constant Field Values

OS_NAME

public static final String OS_NAME

JAVA_VERSION_STRING

public static final String JAVA_VERSION_STRING

JAVA_VERSION

public static final int JAVA_VERSION
Method Detail

parse

static int parse(String vs)

isX11

public static boolean isX11()

isWindows

public static boolean isWindows()

isWindows9X

public static boolean isWindows9X()

isWindowsXP

public static boolean isWindowsXP()

isMacintosh

public static boolean isMacintosh()

isOSX

public static boolean isOSX()

isSolaris

public static boolean isSolaris()

isHPUX

public static boolean isHPUX()

isLinux

public static boolean isLinux()

main

public static void main(String[] args)


Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge