public class BinaryDataReader extends SimpleLogSupportAdapter implements BinaryChannel, java.io.Closeable
Constructor and Description |
---|
BinaryDataReader(LogChannel logCh,
java.io.File file) |
Modifier and Type | Method and Description |
---|---|
protected <S extends BinaryDataStructure> |
add(S structure) |
void |
close() |
java.nio.ByteOrder |
getByteOrder()
This is supposed to be the central place where the byte order is stored.
|
long |
getReadOperationCount() |
protected void |
logClose(java.io.File file) |
protected void |
logOpen(java.io.File file) |
protected void |
read(AbstractByteBufferStore store,
long startPosition)
Deprecated.
|
int |
read(ByteBufferWrapper wrapper) |
void |
setByteOrder(java.nio.ByteOrder byteOrder) |
getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
public BinaryDataReader(LogChannel logCh, java.io.File file) throws java.io.IOException
java.io.IOException
protected void logOpen(java.io.File file)
public final long getReadOperationCount()
protected final <S extends BinaryDataStructure> S add(S structure)
public final java.nio.ByteOrder getByteOrder() throws java.io.IOException
BinaryChannel
getByteOrder
in interface BinaryChannel
java.io.IOException
public final void setByteOrder(java.nio.ByteOrder byteOrder)
setByteOrder
in interface BinaryChannel
public final int read(ByteBufferWrapper wrapper) throws java.io.IOException
read
in interface BinaryChannel
java.io.IOException
@Deprecated protected final void read(AbstractByteBufferStore store, long startPosition) throws java.io.IOException
java.io.IOException
public final void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
protected void logClose(java.io.File file)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.