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, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelpublic BinaryDataReader(LogChannel logCh, java.io.File file) throws java.io.IOException
java.io.IOExceptionprotected 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
BinaryChannelgetByteOrder in interface BinaryChanneljava.io.IOExceptionpublic final void setByteOrder(java.nio.ByteOrder byteOrder)
setByteOrder in interface BinaryChannelpublic final int read(ByteBufferWrapper wrapper) throws java.io.IOException
read in interface BinaryChanneljava.io.IOException@Deprecated protected final void read(AbstractByteBufferStore store, long startPosition) throws java.io.IOException
java.io.IOExceptionpublic final void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionprotected void logClose(java.io.File file)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.