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 DeviceDriver
java.lang.Exception
public void read(File file, long nbytes, long offset) throws java.lang.Exception
read
in class DeviceDriver
java.lang.Exception
public void write(File file, long nbytes, long offset) throws java.lang.Exception
write
in class DeviceDriver
java.lang.Exception
public void close(File file) throws java.lang.Exception
close
in class DeviceDriver
java.lang.Exception