Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeanDragon/protools
/ getOsName
Method
getOsName
common/src/main/java/pro/tools/system/ToolOS.java:121–123 ·
view source on GitHub ↗
获取操作系统类型名称 @return
()
Source
from the content-addressed store, hash-verified
119
* @
return
120
*/
121
public
static
String getOsName() {
122
return
SYSTEM_MX_BEAN.getName();
// System.getProperty("os.name");
123
}
124
125
/**
126
* 操作系统的体系结构 如:x86
Callers
1
isWindows
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected