public class BinaryDataWrapperStore<C extends BinaryChannel,S extends BinaryDataStructure> extends SimpleLogSupportAdapter implements BinaryDataStructure
| Constructor and Description |
|---|
BinaryDataWrapperStore(C binaryChannel) |
| Modifier and Type | Method and Description |
|---|---|
protected <B extends S> |
add(B wrapper) |
protected void |
ensureSetup() |
protected void |
ensureSetup(int index) |
protected C |
getBinaryChannel() |
long |
getEndPosition()
Returns the end-position of this structure in the file-channel.
|
S |
getEntry(int index) |
int |
getEntryCount() |
BinaryDataStructure |
getPredecessor() |
void |
reset()
This method is called by the ResetButton on it's registered target.
|
void |
setPredecessor(BinaryDataStructure predecessor)
Sets a reference to the previous structure.
|
getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toStringpublic BinaryDataWrapperStore(C binaryChannel)
protected final C getBinaryChannel()
public final int getEntryCount()
throws java.io.IOException
java.io.IOExceptionpublic final S getEntry(int index) throws java.io.IOException
java.io.IOExceptionprotected final <B extends S> B add(B wrapper)
public final void setPredecessor(BinaryDataStructure predecessor)
BinaryDataStructuresetPredecessor in interface BinaryDataStructureBinaryDataStructure.getEndPosition()public final BinaryDataStructure getPredecessor()
protected void ensureSetup(int index)
throws java.io.IOException
java.io.IOExceptionprotected void ensureSetup()
throws java.io.IOException
java.io.IOExceptionpublic final long getEndPosition()
throws java.io.IOException
BinaryDataStructuregetEndPosition in interface BinaryDataStructurejava.io.IOExceptionpublic void reset()
Resettablereset in interface ResettableCopyright © 2014 EsprIT-Systems. All Rights Reserved.