Enum Class的使用
spring.turbo.util.OS

使用OS的程序包
程序包
说明
 
  • spring.turbo.utilOS的使用

    返回OSspring.turbo.util中的方法
    修饰符和类型
    方法
    说明
    static OS
    OS.get()
    获取当前操作系统
    static OS
    OS.valueOf(String name)
    Returns the enum constant of this class with the specified name.
    static OS[]
    OS.values()
    Returns an array containing the constants of this enum class, in the order they are declared.