Class InputStreamWrapper
java.lang.Object
org.hsqldb.lib.InputStreamWrapper
- All Implemented Interfaces:
InputStreamInterface
A wrapper for a java.io.InputStream object.
- Since:
- 2.2.8
- Author:
- Fred Toussi (fredt@users dot sourceforge.net)
-
Constructor Details
-
InputStreamWrapper
-
-
Method Details
-
read
- Specified by:
readin interfaceInputStreamInterface- Throws:
IOException
-
read
- Specified by:
readin interfaceInputStreamInterface- Throws:
IOException
-
read
- Specified by:
readin interfaceInputStreamInterface- Throws:
IOException
-
skip
- Specified by:
skipin interfaceInputStreamInterface- Throws:
IOException
-
available
- Specified by:
availablein interfaceInputStreamInterface- Throws:
IOException
-
close
- Specified by:
closein interfaceInputStreamInterface- Throws:
IOException
-
setSizeLimit
public void setSizeLimit(long count) - Specified by:
setSizeLimitin interfaceInputStreamInterface
-
getSizeLimit
public long getSizeLimit()Description copied from interface:InputStreamInterfaceInvariant. Number of characters in stream, including any already read.- Specified by:
getSizeLimitin interfaceInputStreamInterface- Returns:
- -1 if no explicit limit otherwise the limit
-