public class PartitionTableFactory
extends java.lang.Object
PartitionTables.| Constructor and Description |
|---|
PartitionTableFactory() |
| Modifier and Type | Method and Description |
|---|---|
static PartitionTable |
createPartitionTable(BlockDeviceDriver blockDevice)
Creates a
PartitionTable suitable for the given block device. |
public static PartitionTable createPartitionTable(BlockDeviceDriver blockDevice) throws java.io.IOException
PartitionTable suitable for the given block device. The
partition table should be located at the logical block address zero of
the device.blockDevice - The block device where the partition table is located.PartitionTable.java.io.IOException - If reading from the device fails.