Class Win32LogicalDiskFFM
java.lang.Object
oshi.driver.common.windows.wmi.Win32LogicalDisk
oshi.driver.windows.wmi.Win32LogicalDiskFFM
@ThreadSafe
public final class Win32LogicalDiskFFM
extends oshi.driver.common.windows.wmi.Win32LogicalDisk
Utility to query WMI class
Win32_LogicalDisk using FFM.-
Nested Class Summary
Nested classes/interfaces inherited from class oshi.driver.common.windows.wmi.Win32LogicalDisk
oshi.driver.common.windows.wmi.Win32LogicalDisk.LogicalDiskProperty -
Field Summary
Fields inherited from class oshi.driver.common.windows.wmi.Win32LogicalDisk
WIN32_LOGICAL_DISK -
Method Summary
Modifier and TypeMethodDescriptionstatic WbemcliUtilFFM.WmiResult<oshi.driver.common.windows.wmi.Win32LogicalDisk.LogicalDiskProperty> queryLogicalDisk(String nameToMatch, boolean localOnly) Queries logical disk informationMethods inherited from class oshi.driver.common.windows.wmi.Win32LogicalDisk
buildWmiClassNameWithWhere
-
Method Details
-
queryLogicalDisk
public static WbemcliUtilFFM.WmiResult<oshi.driver.common.windows.wmi.Win32LogicalDisk.LogicalDiskProperty> queryLogicalDisk(String nameToMatch, boolean localOnly) Queries logical disk information- Parameters:
nameToMatch- an optional string to filter match, null otherwiselocalOnly- Whether to only search local drives- Returns:
- Logical Disk Information
-