Class WindowsHWDiskStore.PartitionMaps

java.lang.Object
oshi.hardware.common.platform.windows.WindowsHWDiskStore.PartitionMaps
Enclosing class:
WindowsHWDiskStore

protected static final class WindowsHWDiskStore.PartitionMaps extends Object
Maps for the partition structure
  • Constructor Details

    • PartitionMaps

      public PartitionMaps()
      Creates an empty PartitionMaps instance.
  • Method Details

    • getDriveToPartitionMap

      public Map<String, List<String>> getDriveToPartitionMap()
      Gets the drive-to-partition map.
      Returns:
      map of drive name to its partition identifiers
    • getPartitionToLogicalDriveMap

      public Map<String, List<Pair<String,Long>>> getPartitionToLogicalDriveMap()
      Gets the partition-to-logical-drive map.
      Returns:
      map of partition to logical drive letter and size pairs
    • getPartitionMap

      public Map<String, List<HWPartition>> getPartitionMap()
      Gets the partition map.
      Returns:
      map of partition identifier to HWPartition objects