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

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

Introduction

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

Prototype

boolean IS_OS_WINDOWS_ME

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

Click Source Link

Document

Is true if this is Windows ME.

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;
    }/*w ww  . j a  va2  s. co  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;
}