Class FileSystemPartitionTable
- java.lang.Object
-
- com.github.mjdev.libaums.partition.fs.FileSystemPartitionTable
-
- All Implemented Interfaces:
PartitionTable
public class FileSystemPartitionTable extends java.lang.Object implements PartitionTable
Represents a dummy partition table. Sometimes devices do not have an MBR or GPT to save memory. https://stackoverflow.com/questions/38004064/is-it-possible-that-small-sd-cards-are-formatted-without-an-mbr Actual File System is then reevaluated in a later stage inFileSystemFactory.
-
-
Constructor Summary
Constructors Constructor Description FileSystemPartitionTable(BlockDeviceDriver blockDevice, FileSystem fs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<PartitionTableEntry>getPartitionTableEntries()intgetSize()
-
-
-
Constructor Detail
-
FileSystemPartitionTable
public FileSystemPartitionTable(BlockDeviceDriver blockDevice, FileSystem fs)
-
-
Method Detail
-
getSize
public int getSize()
- Specified by:
getSizein interfacePartitionTable- Returns:
- The size in bytes the partition table occupies.
-
getPartitionTableEntries
public java.util.List<PartitionTableEntry> getPartitionTableEntries()
- Specified by:
getPartitionTableEntriesin interfacePartitionTable- Returns:
- A collection of
PartitionTableEntrys located on the block device.
-
-