Constructor and Description |
---|
InStreamAdapterBuffered(java.io.File file) |
InStreamAdapterBuffered(java.io.InputStream is) |
InStreamAdapterBuffered(java.io.InputStream is,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this stream.
|
long |
getReadIndex() |
boolean |
isEof() |
byte |
readByte() |
int |
readBytes(byte[] buffer)
Liest ab der aktuellen Lese-Position Bytes
in den Puffer bis dieser voll ist oder EOF
erreicht wurde.
|
int |
readInt() |
long |
readLong() |
short |
readShort() |
void |
run() |
void |
skip(long n) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public InStreamAdapterBuffered(java.io.InputStream is)
public InStreamAdapterBuffered(java.io.InputStream is, int bufferSize)
public InStreamAdapterBuffered(java.io.File file)
public final boolean isEof()
public final long getReadIndex()
getReadIndex
in interface InStream
public final void close()
InStream
public final void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public final byte readByte()
public final short readShort()
public final int readInt()
public final long readLong()
public final void skip(long n)
public final int readBytes(byte[] buffer)
InStream
readBytes
in interface InStream
buffer
- byte[] Puffer.