public static enum PlatformUtils.OSType extends Enum<PlatformUtils.OSType>
| 枚举常量和说明 |
|---|
OS_TYPE_FREEBSD |
OS_TYPE_LINUX |
OS_TYPE_MAC |
OS_TYPE_OTHER |
OS_TYPE_SOLARIS |
OS_TYPE_WIN |
public static final PlatformUtils.OSType OS_TYPE_LINUX
public static final PlatformUtils.OSType OS_TYPE_WIN
public static final PlatformUtils.OSType OS_TYPE_SOLARIS
public static final PlatformUtils.OSType OS_TYPE_MAC
public static final PlatformUtils.OSType OS_TYPE_FREEBSD
public static final PlatformUtils.OSType OS_TYPE_OTHER
public static PlatformUtils.OSType[] values()
for (PlatformUtils.OSType c : PlatformUtils.OSType.values()) System.out.println(c);
public static PlatformUtils.OSType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.