Package org.dalesbred.datatype
Class InputStreamWithSize
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.dalesbred.datatype.InputStreamWithSize
- All Implemented Interfaces:
Closeable
,AutoCloseable
InputStream that also knows the length of its input. When this kind of stream is
passed in place of normal stream, the database can optimize its work better.
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
InputStreamWithSize
-
-
Method Details
-
getSize
public long getSize()
-