Example usage for org.apache.commons.lang3 SystemUtils IS_OS_WINDOWS_98

List of usage examples for org.apache.commons.lang3 SystemUtils IS_OS_WINDOWS_98

Introduction

In this page you can find the example usage for org.apache.commons.lang3 SystemUtils IS_OS_WINDOWS_98.

Prototype

boolean IS_OS_WINDOWS_98

To view the source code for org.apache.commons.lang3 SystemUtils IS_OS_WINDOWS_98.

Click Source Link

Document

Is true if this is Windows 98.

Usage

From source file:com.norconex.jef4.exec.SystemCommand.java

private String[] getOSCommandPrefixes() {
    //TODO consider using "nice" on *nix systems.
    if (SystemUtils.OS_NAME == null) {
        return EMPTY_STRINGS;
    }//from   w w  w .  java 2s  . c  o m
    if (SystemUtils.IS_OS_WINDOWS) {
        if (SystemUtils.IS_OS_WINDOWS_95 || SystemUtils.IS_OS_WINDOWS_98 || SystemUtils.IS_OS_WINDOWS_ME) {
            return CMD_PREFIXES_WIN_LEGACY;
        }
        // NT, 2000, XP and up
        return CMD_PREFIXES_WIN_CURRENT;
    }
    return EMPTY_STRINGS;
}