Package org.h2.server
Class TcpServerThread.CachedInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.h2.server.TcpServerThread.CachedInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
TcpServerThread
An input stream with a position.
-
Field Summary
FieldsFields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
DUMMY
-
pos
private long pos
-
-
Constructor Details
-
CachedInputStream
CachedInputStream(InputStream in)
-
-
Method Details
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classFilterInputStream
- Throws:
IOException
-
getPos
public long getPos()
-