MCPcopy
hub / github.com/oshi/oshi / getCurrentPlatform

Method getCurrentPlatform

oshi-core/src/main/java/oshi/SystemInfo.java:87–89  ·  view source on GitHub ↗

Gets the PlatformEnum value representing this system. @return Returns the current platform

()

Source from the content-addressed store, hash-verified

85 * @return Returns the current platform
86 */
87 public static PlatformEnum getCurrentPlatform() {
88 return CURRENT_PLATFORM;
89 }
90
91 /**
92 * Creates a new instance of the appropriate platform-specific

Callers 10

updateDatasetsMethod · 0.95
initMethod · 0.95
parseProcessesMethod · 0.95
testPlatformEnumMethod · 0.95
testCountsMethod · 0.95
testFileSystemMethod · 0.95
testFstatMethod · 0.95
testProcstatMethod · 0.95
getPowerSourcesMethod · 0.95

Calls

no outgoing calls

Tested by 5

testPlatformEnumMethod · 0.76
testCountsMethod · 0.76
testFileSystemMethod · 0.76
testFstatMethod · 0.76
testProcstatMethod · 0.76