public class MemoryDataReader extends java.lang.Object implements DataReader
| Constructor and Description |
|---|
MemoryDataReader(@NotNull Memory data) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
close() |
Block |
getBlock(long address) |
Block[] |
getBlocks() |
java.lang.String |
getLocation() |
void |
removeBlock(long blockAddress,
@NotNull RemoveBlockType rbt) |
void |
setLog(@NotNull Log log) |
void |
truncateBlock(long blockAddress,
long length) |
public MemoryDataReader(@NotNull
@NotNull Memory data)
public Block[] getBlocks()
getBlocks in interface DataReaderpublic void removeBlock(long blockAddress,
@NotNull
@NotNull RemoveBlockType rbt)
removeBlock in interface DataReaderpublic void truncateBlock(long blockAddress,
long length)
truncateBlock in interface DataReaderpublic void clear()
clear in interface DataReaderpublic void close()
close in interface DataReaderpublic void setLog(@NotNull
@NotNull Log log)
setLog in interface DataReaderpublic java.lang.String getLocation()
getLocation in interface DataReaderpublic Block getBlock(long address)
getBlock in interface DataReader