EtchDroid/app/src/main/java/eu/depau/etchdroid/utils/PartitionBuilder.kt

16 lines
481 B
Kotlin
Raw Normal View History

2018-08-16 22:27:03 +00:00
package eu.depau.etchdroid.utils
import eu.depau.etchdroid.enums.FilesystemType
import eu.depau.etchdroid.enums.PartitionType
class PartitionBuilder {
var number: Int? = null
var offset: Int? = null
var size: Int? = 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)
}