public class DummyDeviceDriver extends DeviceDriver
| Constructor and Description |
|---|
DummyDeviceDriver(DeviceId deviceId) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(File file) |
File |
open() |
void |
read(File file,
long nbytes,
long offset) |
void |
write(File file,
long nbytes,
long offset) |
public DummyDeviceDriver(DeviceId deviceId)
public File open() throws java.lang.Exception
open in class DeviceDriverjava.lang.Exceptionpublic void read(File file, long nbytes, long offset) throws java.lang.Exception
read in class DeviceDriverjava.lang.Exceptionpublic void write(File file, long nbytes, long offset) throws java.lang.Exception
write in class DeviceDriverjava.lang.Exceptionpublic void close(File file) throws java.lang.Exception
close in class DeviceDriverjava.lang.Exception