Class Win32LogicalDiskFFM
java.lang.Object
oshi.driver.windows.wmi.Win32LogicalDiskFFM
FFM-based utility to query WMI class
Win32_LogicalDisk.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a logical disk from WMI query result. -
Method Summary
Modifier and TypeMethodDescriptionqueryLogicalDisk(String nameToMatch, boolean localOnly) Queries logical disk information.
-
Method Details
-
queryLogicalDisk
public static List<Win32LogicalDiskFFM.LogicalDiskInfo> 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:
- list of logical disk information
-