public class Device extends Object implements Comparable<Device>
Modifier and Type | Field and Description |
---|---|
String |
bus |
String |
description |
Host |
host |
static int |
IDE_CDROM |
static int |
IDE_HDD |
String |
name |
List<Partition> |
partitions |
static int |
SCSI_CDROM |
static int |
SCSI_HDD |
long |
size |
String |
transfer |
int |
type |
Modifier and Type | Method and Description |
---|---|
void |
addPartition(Partition partition) |
int |
compareTo(Device o) |
String |
toString() |
public static final int IDE_HDD
public static final int SCSI_HDD
public static final int IDE_CDROM
public static final int SCSI_CDROM
public String bus
public String name
public String description
public String transfer
public int type
public long size
public Host host
public Device()
public Device(String name, int type)
Copyright © 2017. All Rights Reserved.