# DriveType

Import: `import com.install4j.api.windows.DriveType;`

```java
public final enum DriveType
```

Enumeration class for the different drive types a file can be located on.

## Constants

### UNKNOWN

The drive type could not be determined.

### REMOVABLE

A removable drive.

### FIXED

A fixed (local) drive.

### REMOTE

A remote (network) drive.

### CDROM

A CD-ROM.

### RAMDISK

A ram disk.

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`values()`](#values) | `DriveType[]` |  |
| [`valueOf(String)`](#valueof-string) | `DriveType` |  |
| [`getFromIntValue(int)`](#getfromintvalue-int) | `DriveType` | Convert int value to constant. |
| [`getIntValue()`](#getintvalue) | `int` | Convert to an int value. |
| [`toString()`](#tostring) | `String` |  |

### values()

```java
public static DriveType[] values()
```

### valueOf(String)

```java
public static DriveType valueOf(String name)
```

### getFromIntValue(int)

```java
public static DriveType getFromIntValue(int value)
```

Convert int value to constant.


**Parameters:**

- `value` — the int value

**Returns:** the constant

### getIntValue()

```java
public int getIntValue()
```

Convert to an int value.


**Returns:** the int value

### toString()

```java
public String toString()
```

