public final class SystemUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getCurrentPID()
Check whether the port is listening to by other process.
|
static java.util.Optional<java.lang.String> |
getOsName()
get the operating system name.
|
static boolean |
isWindows()
Check if the operating system is windows.
|
public static java.lang.String getCurrentPID()
public static boolean isWindows()
public static java.util.Optional<java.lang.String> getOsName()
Copyright © 2023 The Apache Software Foundation. All rights reserved.