Package oshi.driver.windows.wmi
Class Win32LogicalDisk
java.lang.Object
oshi.driver.windows.wmi.Win32LogicalDisk
@ThreadSafe public final class Win32LogicalDisk extends java.lang.Object
Utility to query WMI class
Win32_LogicalDisk-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWin32LogicalDisk.LogicalDiskPropertyLogical disk properties. -
Method Summary
Modifier and Type Method Description static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32LogicalDisk.LogicalDiskProperty>queryLogicalDisk(java.lang.String nameToMatch, boolean localOnly)Queries logical disk information
-
Method Details
-
queryLogicalDisk
public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32LogicalDisk.LogicalDiskProperty> queryLogicalDisk(java.lang.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
-