net.sourceforge.jtds.jdbc
Class ResponseStream.TdsInputStream
InputStream
net.sourceforge.jtds.jdbc.ResponseStream.TdsInputStream
- ResponseStream
private static class ResponseStream.TdsInputStream
extends InputStream
Simple inner class implementing an InputStream
over the
server response.
(package private) int | maxLen - The maximum amount of data to make available.
|
(package private) ResponseStream | tds - The underlying
ResponseStream .
|
int | read()
|
int | read(byte[] bytes, int offset, int len)
|
maxLen
(package private) int maxLen
The maximum amount of data to make available.
TdsInputStream
public TdsInputStream(ResponseStream tds,
int maxLen)
Creates a TdsInputStream
instance.
tds
- the underlying ResponseStream
maxLen
- the maximum amount of data that will be available
read
public int read()
throws IOException
read
public int read(byte[] bytes,
int offset,
int len)
throws IOException
Generated on September 18 2009