EtchDroid/app/src/main/java/eu/depau/etchdroid/utils/PartitionBuilder.kt
2018-12-22 01:16:44 +01:00

16 lines
494 B
Kotlin

package eu.depau.etchdroid.utils
import eu.depau.etchdroid.utils.enums.FilesystemType
import eu.depau.etchdroid.utils.enums.PartitionType
class PartitionBuilder {
var number: Int? = null
var offset: Int? = null
var size: Long? = null
var partType: PartitionType? = null
var partLabel: String? = null
var fsType: FilesystemType? = null
var fsLabel: String? = null
fun build(): Partition = Partition(number, offset, size, partType, partLabel, fsType, fsLabel)
}