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