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

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

Introduction

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

Prototype

boolean IS_OS_WINDOWS_95

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

Click Source Link

Document

Is true if this is Windows 95.

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 .  j  av  a 2 s . 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;
}