Package org.h2.server
Class TcpServerThread.CachedInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.h2.server.TcpServerThread.CachedInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Enclosing class:
- TcpServerThread
static class TcpServerThread.CachedInputStream extends java.io.FilterInputStreamAn input stream with a position.
-
-
Constructor Summary
Constructors Constructor Description CachedInputStream(java.io.InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetPos()intread()intread(byte[] buff, int off, int len)longskip(long n)-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset
-
-
-
-
Method Detail
-
read
public int read(byte[] buff, int off, int len) throws java.io.IOException- Overrides:
readin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOException- Overrides:
readin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOException- Overrides:
skipin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
getPos
public long getPos()
-
-