Class ProdosOrderedBlockDevice
java.lang.Object
org.applecommander.device.ProdosOrderedBlockDevice
- All Implemented Interfaces:
CapabilityProvider, BlockDevice, Device, HintProvider, Container, InformationProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface BlockDevice
BlockDevice.Geometry -
Field Summary
Fields inherited from interface BlockDevice
STANDARD_BLOCK_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancan(Capability capability) Helps identify capabilities of the existing component.<T> Optional<T> Get information that describes the disk geometry.booleanreadBlock(int block) Read a single block from the disk.readRange(int block, int totalBlocks) Read a range of blocks.voidwriteBlock(int block, DataBuffer blockData) Write a single block to the disk.voidwriteRange(int block, DataBuffer rangeData) Write a range of blocks.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BlockDevice
calculateRequiredBlocks, format, sizeBufferMethods inherited from interface HintProvider
isAny
-
Constructor Details
-
ProdosOrderedBlockDevice
-
-
Method Details
-
get
-
is
- Specified by:
isin interfaceHintProvider
-
can
Description copied from interface:CapabilityProviderHelps identify capabilities of the existing component.- Specified by:
canin interfaceCapabilityProvider
-
getGeometry
Description copied from interface:BlockDeviceGet information that describes the disk geometry.- Specified by:
getGeometryin interfaceBlockDevice
-
readBlock
Description copied from interface:BlockDeviceRead a single block from the disk.- Specified by:
readBlockin interfaceBlockDevice
-
readRange
Read a range of blocks.- Specified by:
readRangein interfaceBlockDevice
-
writeBlock
Description copied from interface:BlockDeviceWrite a single block to the disk.- Specified by:
writeBlockin interfaceBlockDevice
-
writeRange
Write a range of blocks.- Specified by:
writeRangein interfaceBlockDevice
-
information
- Specified by:
informationin interfaceInformationProvider
-